Viewing post 1 (of 1 total)
Perhaps helps anyone...
declare @data as char(10)
set @data= (select convert(varchar(10),getdate(),112) )
print @data
declare @data1 as datetime
set @data1 =convert(varchar(10),@data,112)
--print @data
print @data1
select * from UDF(@data1)
November 1, 2019 at 2:53 pm
#3693839