Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
. SELECT T.NAME AS [TABLE NAME], C.NAME AS [COLUMN NAME],
T.NAME + '|' +C.NAME AS TableAndColumn ,
P.NAME AS [DATA TYPE], P.MAX_LENGTH AS[SIZE],
CAST(P.PRECISION AS VARCHAR) +'/' + CAST(P.SCALE AS VARCHAR) AS [PRECISION/SCALE]
INTO SOWTimeReportingTEST.dbo.AllTablesPROD
FROM SOWTimeReporting.SYS.OBJECTS AS T
JOIN SOWTimeReporting.SYS.COLUMNS AS C
ON T.OBJECT_ID=C.OBJECT_ID
JOIN SOWTimeReporting.SYS.TYPES AS P
ON C.SYSTEM_TYPE_ID=P.SYSTEM_TYPE_ID
WHERE T.TYPE_DESC='USER_TABLE'
Order By[TABLE NAME],[COLUMN NAME];