Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sent_sara
Constraint Violating Yak Guru
377 Posts |
Posted - 2008-07-11 : 03:41:23
|
| Can ANY one tell why should i go for Nvarchar.since i can use varchar.create procedure del_sp(@tmp varchar(10))asbeginset nocount onDeclare @sql_tmp Nvarchar(400) set @sql_tmp='select * from sysobjects where xtype=''U''' + ' and name like ''%' + @tmp + '%''' exec sp_executesql @sql_tmpset nocount offend |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
|
|
|