I have a MSSQL 2012 database that I can connect to from ArcGIS using 'Add Database Connection'. In this database I have a spatial table that I can see and open in ArcGIS, however when I create a table using 'SELECT * INTO newtable from..' I cannot see the new table in ArcGIS. I can see the new table in Management studio and it has all the columns and data. The only difference I can see from the old table is that there is no Primary key. If I set this it makes no difference and I still cannot see the table in ArcGIS. Here is the SQL script I'm using:
USE TrafficData;
IF object_id('TrafficData.dbo.a') IS NOT NULL
DROP TABLE TrafficData.dbo.a;
SELECT *
INTO TrafficData.dbo.a
FROM AMBASE_V15LINKS_POLYLINE;