Archive for 05月 11th, 2008
SqlServer实用操作 不断更新中
1,清空数据库 恢复到初始状态
truncate table 表名
2,查询相同条件的数据
select * from 表名 where 列名 like ‘%查询条件%’
3,批量替换
update 表名 set 列名 = replace(列名,’被替换的字符’,’替换的字符’)
Posted: 05月 11th, 2008 under 偶滴流水帐.
Comments: none
杜伟的个人BLOG,记载着我的学习工作生活
1,清空数据库 恢复到初始状态
truncate table 表名
2,查询相同条件的数据
select * from 表名 where 列名 like ‘%查询条件%’
3,批量替换
update 表名 set 列名 = replace(列名,’被替换的字符’,’替换的字符’)
Posted: 05月 11th, 2008 under 偶滴流水帐.
Comments: none