如何将getDate()转换成2007-2-2这种形式啊? 在数据库中使用getdate()返回的是带空格的 2 2 2007 如何改成2007-2-2这种形式啊?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select convert(char(10),getdate(),21) select replace(convert(char(10),getdate(),21),'-0','-') select convert(char(10),getdate(),120) select convert(char(10),getdate(),120) select convert(varchar(10),getdate(),120) select convert(char(10),{fn now()},121) select convert(char(10),getdate(),120) select replace(convert(char(10),getdate(),21),'-0','-') 三表关联left join 如何去掉重复值 【日期问题】根据日期获取最新的纪录 基础问题:有个表的一个字段:分数decimal(18,2),为什么向分数字段,写入数据比如89.15时实际上是写入数据库的是89.00,即都是进行了四舍五入 使用存储过程参数问题 请教一个sql,请高手支招。 这样的SQL语句该如何写? 无法连接到WMI提供程序 请注意,你只能使用SQL Server 配置管理器来管理SQLServer 2005服务器找不到指定的模块。 sqlserver占用cpu100%,help~~ 一个关于VFP6数据库导出的问题-其实很简单,除了我没人不会 苦寻答案...... sql问题~~` 聚集索引的具体用法还是不明白再次请教!谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货