咖喱碗糕`

`∧ ∧︵
ミ^ō^ミ灬)~ ~我是只可爱的狐狸```
http://freedom2130.cnblogs.com
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2005年9月14日

摘要: OledbCommand mcd=new OleDbCommand()mcd.CommandText="insert into datatab(.....)value(....)+";SELECT SCOPE_IDENTITY()";string pid=mcd.ExecuteScalar().ToString();//添加配偶并返回刚添加的ID 阅读全文

posted @ 2005-09-14 15:36 刹那间我存在 阅读(974) 评论(0) 推荐(0) 编辑

摘要: SQL Server中临时表的建立select * into #temptable from tablename#连接断开后自动释放在sql中建立临时表create table #tablename (.....) 局部create table ##tablename(.....) 全局select * into #tablename .....select * into ##table... 阅读全文

posted @ 2005-09-14 02:22 刹那间我存在 阅读(2766) 评论(1) 推荐(0) 编辑