摘要: update 表1 set from 表1,表2 where 阅读全文
posted @ 2011-05-12 11:05 乐上 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 就是这么简单-没有必要关心要那些表或配置表和对象的映射关系。在实践中,配置看起来如下:<configuration> <!-- 1 - Connection String(s) --> <connectionStrings> <add name="Northwind" connectionString="Data Source=.\sqlexpress;Initial Catalog=Northwind;Integrated Security=True"/> </connectionStrings&g 阅读全文
posted @ 2011-05-04 17:12 乐上 阅读(367) 评论(0) 推荐(0) 编辑
摘要: select [name] from [sysdatabases] use 当前库名select [name] from [sysobjects] where [type] = 'u' --u 表示用户表select [name] from syscolumns where id= object_id('pcar')object_id :返回架构范围内对象的数据库对象标识号。 阅读全文
posted @ 2011-04-27 17:05 乐上 阅读(197) 评论(0) 推荐(0) 编辑
摘要: http://www.qianduan.net/ 关注于前端设计与开发 阅读全文
posted @ 2011-04-26 14:18 乐上 阅读(169) 评论(0) 推荐(0) 编辑