SELECT replace(replace(replace(convert(varchar,getdate(),120),'-',''),':',''),' ','')
select convert(varchar,getdate(),112)+replace(convert(varchar,getdate(),108),':','')
转载于:https://www.cnblogs.com/xkis/p/3434318.html
SELECT replace(replace(replace(convert(varchar,getdate(),120),'-',''),':',''),' ','')
select convert(varchar,getdate(),112)+replace(convert(varchar,getdate(),108),':','')
转载于:https://www.cnblogs.com/xkis/p/3434318.html