Viewing 2 posts - 1 through 2 (of 2 total)
Please use this way to aviod looping.
--Please pass through Query string
Declare @sParameter varchar(max)
Begin
Set @sParameter = 'select ''WA'' union all select ''AZ'' union all select ''CA'' union all select ''TS'''
Declare @tStates...
August 13, 2010 at 12:06 am
#1206405
There is an issue held to copy table for this way .Key and identity are lost.Only use the query to use take Backup ony.
June 17, 2010 at 7:12 am
#1181536