摘要: 1.获取系统当前时间SQL Server 2005:1 select getdate()Oracle:1 select sysdate from dual2.获取年月日SQL Server 2005:1 select year(getdate()) --20112 select month(getdate()) --33 select day(getdate()) --23Oracle:1 select to_char(sysdate,'yyyy') from dual --2011 2 select to_char(sysdate,'mm') from dua 阅读全文
posted @ 2011-03-23 22:13 慕容小北 阅读(529) 评论(1) 推荐(2) 编辑
摘要: 最初“Microsoft SQL Server 2005” 运行正常,后来我安装.NET Framwork 2.0 SP1,安装过程提示“安装过程中出现了问题,安装失败”。再次打开SQL Server 2005时,出现如下问题: 解决办法:修复“Microsoft .NET Framework 2.0”。步骤:开始——控制面板——添加或删除程序——单击“Microsoft .NET Framework 2.0”——更改——修复。 修复成功后,重启电脑,运行SQL Server 2005 ,一切正常。因为“Microsoft SQL Server 2005”是基于.NET Framwork 2. 阅读全文
posted @ 2011-03-23 15:44 慕容小北 阅读(11472) 评论(0) 推荐(1) 编辑