易截截图软件、单文件、免安装、纯绿色、仅160KB

用sql语句实现阳历与农历转换

 1.建一张表 存放数据 在下面SQL函数中有用到
create  table  solardata  
(  
       yearid  int  not  null,  
       data  char(7)  not  null,  
       dataint  int  not  null  
)  
 
--插入数据 
insert  into    
solardata  select  1900,'0x04bd8',19416  union  all  select 1901,'0x04ae0',19168  
union  all  select  1902,'0x0a570',42352  union  all  select 1903,'0x054d5',21717  
union  all  select  1904,'0x0d260',53856  union  all  select  1905,'0x0d950',55632  
union  all  select  1906,'0x16554',91476  union  all  select  1907,'0x056a0',22176  
union  all  select  1908,'0x09ad0',39632  union  all  select  1909,'0x055d2',21970  
union  all  select  1910,'0x04ae0',19168  union  all  select  1911,'0x0a5b6',42422  
union  all  select  1912,'0x0a4d0',42192  union  all  select  1913,'0x0d250',53840  
union  all  select  1914,'0x1d255',119381  union  all  select  1915,'0x0b540',46400  
union  all  select  1916,'0x0d6a0',54944  union  all  select  1917,'0x0ada2',44450  
union  all  select  1918,'0x095b0',38320  union  all  select  1919,'0x14977',84343  
union  all  select  1920,'0x04970',18800  union  all  select  1921,'0x0a4b0',42160  
union  all  select  1922,'0x0b4b5',46261  union  all  s


相关文档:

用ADO管理SQL SERVER !

      在软件开发中,常常需要为程序建立Sql Server数据库的运行环境。完成如在SQL Server数据库中建立设备,建立数据库,建立表格,分配权限等功能,如何方便的建立应用程序所需Sql Server环境的数据库环境,而不用启动SQL Enterprise Manager呢?
下面来看: 
  启动VB6.0,新建一个工 ......

保护SQL Server数据库的十大绝招

保护SQL Server数据库的十大绝招
http://blog.csdn.net/cncco/archive/2007/09/15/1785880.aspx
1. 安装最新的服务包
为了提高服务器安全性,最有效的一个方法就是升级到SQL Server 2000 Service Pack 3a (SP3a)。另外,您还应该安装所有已发布的安全更新。
2. 使用Microsoft基线安全性分析器(MBSA)来评估服务器的安 ......

SQL 常用快捷键大全

书签:清除所有书签。 CTRL-SHIFT-F2
书签:插入或删除书签(切换)。 CTRL+F2
书签:移动到下一个书签。 F2 功能键
书签:移动到上一个书签。 SHIFT+F2
取消查询。 ALT+BREAK
连接:连接。 CTRL+O
连接:断开连接。 CTRL+F4
连接:断开连接并关闭子窗口。 CTRL+F4
数据库对象信息。 ALT+F1
编辑:清除活动 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号