BCB 编写的一些简单函数用于SQL的扩展存储过程. -检查文件是否存在Select dbo.FileExist( c:\boot.ini ) --删除文件Select dbo.FileDelete( C:\X.txt ) --服务状态Select dbo.ServerStat( awhost32 ,1) --建立目录Select dbo.MKDIR( C:\Test\test ,1) --文件复制Select dbo.FileCopy( C:\boot.ini , c:\Boot\YYY.ini ,1) --删除目录Select dbo.RDDIR( C:\Text ,1) --锁定计算机Select dbo.LockPc() --结束程序Select dbo.KillPorg( Notepad.exe ) --执行程序Select dbo.StartPorg( Notepad.exe ) --得到IP地址Select dbo.GetIP() --分解字符Select dbo.TextPart( 123*456*789 , * ,0) QQ:254082939 Email:haihong5995037@163.com
标签: Select FileDelete FileExist dbo
上传时间: 2014-01-22
上传用户:1109003457
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_药品库存_药品资料]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[药品库存] DROP CONSTRAINT FK_药品库存_药品资料 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_门诊划价明细_门诊划价]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[门诊划价明细] DROP CONSTRAINT FK_门诊划价明细_门诊划价 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_门诊挂号_门诊挂号类型]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[门诊挂号] DROP CONSTRAINT FK_门诊挂号_门诊挂号类型 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[产地]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[产地] GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[医生资料]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[医生资料]
上传时间: 2013-11-12
上传用户:sunshie
if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_帐单明细_入住单]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[帐单明细] DROP CONSTRAINT FK_帐单明细_入住单 GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_入住单_客房信息]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[入住单] DROP CONSTRAINT FK_入住单_客房信息 GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_客房信息_客房类型]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[客房信息] DROP CONSTRAINT FK_客房信息_客房类型
上传时间: 2014-03-23
上传用户:chenhr
c#数据库开发实例:有很多的实例,对学习非常的有意义! 酒店管理系统源代码 医院信息管理系统源代码 图书馆管理系统源代码 财务管理系统源代码 生产管理系统源代码 人力资源管理实例程序源代码 进销存管理实例程序源代码 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[采购订单_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[采购订单] DROP CONSTRAINT 采购订单_供货商_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[采购订单历史_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[采购订单历史] DROP CONSTRAINT 采购订单历史_供货商_fk
上传时间: 2013-10-30
上传用户:392210346
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[采购订单_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[采购订单] DROP CONSTRAINT 采购订单_供货商_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[采购订单历史_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[采购订单历史] DROP CONSTRAINT 采购订单历史_供货商_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[采购合同_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[采购合同] DROP CONSTRAINT 采购合同_供货商_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[进货单_供货商_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[进货单] DROP CONSTRAINT 进货单_供货商_fk
上传时间: 2013-11-15
上传用户:wkxiian
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_工资发放历史表_职员基本信息表]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[工资发放历史表] DROP CONSTRAINT FK_工资发放历史表_职员基本信息表 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_月工资统计表_职员基本信息表]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[月工资统计表] DROP CONSTRAINT FK_月工资统计表_职员基本信息表 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_职员惩罚表_职员基本信息表]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[职员惩罚表] DROP CONSTRAINT FK_职员惩罚表_职员基本信息表
上传时间: 2014-11-17
上传用户:xinzhch
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[mrp物料需求计算_物料编号_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[mrp物料需求计算] DROP CONSTRAINT mrp物料需求计算_物料编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[mrp物料需求计算结果_物料编号_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[mrp物料需求计算结果] DROP CONSTRAINT mrp物料需求计算结果_物料编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[mrp物料需求历史_物料编号_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[mrp物料需求历史] DROP CONSTRAINT mrp物料需求历史_物料编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[物料清单_物料编号_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[物料清单] DROP CONSTRAINT 物料清单_物料编号_fk
上传时间: 2013-11-23
上传用户:wcl168881111111
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[FK_分录表_凭证表]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[分录表] DROP CONSTRAINT FK_分录表_凭证表 GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[本期汇总账簿_科目代码_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[本期汇总账簿] DROP CONSTRAINT 本期汇总账簿_科目代码_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[本期明细账簿_科目代码_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[本期明细账簿] DROP CONSTRAINT 本期明细账簿_科目代码_fk GO if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[分录表_科目代码_fk]') and OBJECTPROPERTY(id, N'IsForeignKey') = 1) ALTER TABLE [dbo].[分录表] DROP CONSTRAINT 分录表_科目代码_fk GO
上传时间: 2013-11-20
上传用户:清山绿水
if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[图书丢失_图书编号_fk]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书丢失] DROP CONSTRAINT 图书丢失_图书编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_图书罚款_图书信息]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书罚款] DROP CONSTRAINT FK_图书罚款_图书信息 GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[图书归还_图书编号_fk]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书归还] DROP CONSTRAINT 图书归还_图书编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[图书借阅_图书编号_fk]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书借阅] DROP CONSTRAINT 图书借阅_图书编号_fk GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[FK_图书征订_图书信息]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书征订] DROP CONSTRAINT FK_图书征订_图书信息 GO if exists (select * from dbo.sysobjects where id = object_id(N\'[dbo].[图书注销_图书编号_fk]\') and OBJECTPROPERTY(id, N\'IsForeignKey\') = 1) ALTER TABLE [dbo].[图书注销] DROP CONSTRAINT 图书注销_图书编号_fk
上传时间: 2014-05-04
上传用户:togetsomething
Easydbo是由简易java框架网(www.easyjf.com)开发的一个适合中小型软件数据库开发的java数据持久层框架,系统参考hibernate、JDO等,结合中小项目软件的开发实际,实现简单的Java对象到关系数据的映射。Easydbo由于比较简单,比较适合于中小企业及个人开发使用,Easydbo当前还处于测试阶段、是一个简易但不太成熟的对象-关系映射开源中间件。 Easydbo的源代码非常简单,有一点Java知识的人基本上都能读懂,因此,选择Easydbo作本文的示例主要目的在于让读者快速进入ORM系统的世界,理解对象-关系数据库实质及实现原理。 Easydbo考虑的是最简单的对象-关系映射,简单到可以不使用任何配置文件就实现对象-关系的映射。Easydbo源码主要包括com.easyjf.dbo、com.easyjf.dbo.config、com.easyjf.dbo.sql三个包。其中com.easyjf.dbo是框架的核心、实现了对象-关系的转换、JDBC API的封装以及用户接口支持等,com.easyjf.dbo.config实现配置文件的管理,com.easyjf.dbo.sql实现数据库的简单Sql语句的生成及多数据库支持的扩展。
上传时间: 2013-12-30
上传用户:change0329