Sql server 在SQL Server中将datetime变量转换为字符串
无论如何,我可以在SQL Server中将日期时间变量转换为字符串吗?请尝试以下操作:Sql server 在SQL Server中将datetime变量转换为字符串,sql-server,Sql Server,无论如何,我可以在SQL Server中将日期时间变量转换为字符串吗?请尝试以下操作: select convert(varchar(100),getdate(),110) 试试这个: select convert(varchar(100),getdate(),110)
select convert(varchar(100),getdate(),110)
试试这个:
select convert(varchar(100),getdate(),110)