Viewing 15 posts - 61 through 75 (of 156 total)
thank you... 🙂
i was looking for such a stuff... this can be used for anything which needs to be applied on all the tables...
viz.
sp_msforeachtable "grant select on ? to...
June 30, 2010 at 11:16 pm
Yeah!... i have executed the query in SSMS 2005... and I get the result as "-1,0,1"
we should get our points back... 😀
john-byrne (6/27/2010)
June 27, 2010 at 10:33 pm
thanks, understood now...:-)
Christian Buettner-167247 (6/25/2010)
ziangij (6/25/2010)
SELECT @t = @t + @comma + a.a
,@comma = ','
...
June 25, 2010 at 2:36 am
since there is only one column, why is this working as well ?
SELECT @t = @t + @comma + a.a
,@comma = ','
FROM #a a
ORDER BY 2
Result...
June 25, 2010 at 1:08 am
agreed ! i used to be a dotnet guy.. but was forced to move to do DBA tasks... now I am managing ETL tasks, writing SQL scripts primarily and writing...
June 25, 2010 at 12:42 am
and database_id < 2
this was enough to answer the question...:-)
June 22, 2010 at 2:23 am
thanks Elliott 🙂
i was looking for various concurrency options in SSIS package, your example has helped me... looking forward for Part 2.
June 16, 2010 at 11:15 pm
yep, i too assumed it to be NULL and i got it correct... 😀
antony-688446 (6/13/2010)
June 14, 2010 at 12:08 am
i guess bitbucket has already provided the alias in his question!
malleswarareddy_m (6/14/2010)
I had one point to add.
the following gives an error.
select IDENTITY(int,100,5),* into #temp3 from
testread
there no...
June 14, 2010 at 12:07 am
luckily didn't correct the syntax error, hence got it right.
Ideally such kind of questions should be put in a different category so that people don't assume that syntax error...
June 13, 2010 at 11:58 pm
Viewing 15 posts - 61 through 75 (of 156 total)