hyqwan11112/
共212个网摘 [
1 2 3 4 5 6 ...
8 ]
下一页 |
访问hyqwan11112的个人空间
hyqwan11112收录,时间:2008-10-1 14:49:52 | 相关网摘,我也收藏
if object_id('ta')is not null drop table ta go create table ta (ID int identity(1,1),content varchar(15))--脏字表 insert ta(content) select 'Fuck' insert ta(content) select 'SB' insert ta(content) select '操你' insert ta(content) select '日' if object_id('tb')is not null drop table tb go create table tb (ID int identity(1,1),content varchar(15))--正常表 declare @str varchar(20) declare @str2 varchar(20) set @str2='你好' set @str='Fuck you' insert tb(content) select @str where not exists(select 1 from ta a where charindex('' a.content '',@str)>0 ) insert tb(content) select @str2 where not exists(select 1 from ta a where charindex('' a.content '',@str2)>0 ) select * from tb
http://topic.csdn.net/u/20080927/16/9272d0eb-56a7-41cc-bf2d-f8b81ee0cc85.html
共212个网摘 [
1 2 3 4 5 6 ...
8 ]
下一页