Answers for "sql server select query datatype"

SQL
0

sql server select query datatype

--Microsoft SQL Server 2019

 DECLARE @query nvarchar(max) = '
    SELECT TOP (1000) [id]
      ,[name]
      ,[lastname]
      ,[age]
      ,[createdate]
	  , cast(createdate as date) as data_date
  FROM [Z_Test].[dbo].[userDemo]
';
EXEC sp_describe_first_result_set @query, null, 0;
Posted by: Guest on April-05-2022

Code answers related to "sql server select query datatype"

Code answers related to "SQL"

Browse Popular Code Answers by Language