Answers for "sql select data type of query"

SQL
0

sql select data type of query

SELECT x.* INTO TMP1
FROM ( SELECT TOP 1 /* rest of your query expression here */ ) as x;

SELECT o.name AS obj_name, TYPE_NAME(c.user_type_id) AS type_name, c.*  
FROM sys.objects AS o   
JOIN sys.columns AS c  ON o.object_id = c.object_id  
WHERE o.name = 'TMP1';

DROP TABLE TMP1;
Posted by: Guest on March-31-2022

Code answers related to "sql select data type of query"

Code answers related to "SQL"

Browse Popular Code Answers by Language