

将bat批处理文件注册成windows Service服务

最近做程序需要用到将.bat文件注册成windows Service服务需求,网上找了一下方法很多,下面介绍一下用window的 sc create 命令来做的方法
c create MyService binPath= “C:\Program Files\restartOracle.bat
“ type= share start= auto displayname= “AutoS...
作者:小贝 | 发布:2013年9月22日 | 分类:技术代码 | 踩踏:403次
SQL设计与命名规范

一.设计规范:
1.采用有意义的字段名:尽可能的把字段描述的清楚些(见名之意);
2.遵守数据库三范式(3NF)规定:
A:表内的每一个值都只能被表达一次;
B:表内的每一行都应该被唯一的标识(有唯一键);
C:表内不应该存储依赖于其他键的非键信息。
3.小心保留词:要保证你的字段...
作者:小贝 | 发布:2013年8月20日 | 分类:技术代码 | 踩踏:610次
