Viewing 15 posts - 5,401 through 5,415 (of 18,926 total)
Elliott Whitlow (6/15/2011)
Well since we are talking about CTE's we are talking about at least what, 2005?can't remember what version they were introduced in..
CEWII
2k5, same as row_number()
June 15, 2011 at 2:00 pm
Got your begin / end markers??
Reformatted for my better readability :
If (
Select
Count(*)
...
June 15, 2011 at 1:47 pm
BTW what sql version are you on? This can't be 7, 2000 since you have a row_number() in there.
June 15, 2011 at 1:45 pm
Elliott Whitlow (6/15/2011)
June 15, 2011 at 1:41 pm
hxkresl (6/15/2011)
Let's say a view is created using "select *" and with no where clause. Is this utterly useless as well as automatically 'updatable'?
Yup.
June 15, 2011 at 1:31 pm
He needs to pivot them into columns, not concatenate them into a single string.
June 15, 2011 at 1:18 pm
Why can't you do it in a matrix?
June 15, 2011 at 1:15 pm
Sounds about right.
The query will work if the column exists...
Also a good reason against using select *. Because now everything refferencing can have bugs after the change and you...
June 15, 2011 at 1:14 pm
Lowell (6/15/2011)
what's this post counter of which you speak?:-D
Not sure... never heard of it b4 in my life, I swear.
June 15, 2011 at 1:11 pm
aracy (6/15/2011)
Ninja's_RGR'us (6/15/2011)
You could use SSIS or BCP out to dump that data into a csv or whatever and be done...
June 15, 2011 at 1:10 pm
Ya but you just said you can't use temp tables....
It takes a heck of a lot of ressources to insert X million rows into anything.
Select into is likely the fastest...
June 15, 2011 at 1:08 pm
GilaMonster (6/15/2011)
The deadlock graphs are files. XML files. I want...
June 15, 2011 at 1:03 pm
SQLRNNR (6/15/2011)
Ninja's_RGR'us (6/15/2011)
SQLRNNR (6/15/2011)
You're welcome.And the posts counter bumps continue!
No wonder you're catching up :hehe:.
He did say "Thanks...everyone"
Ya but you're not "everyone". :hehe:
June 15, 2011 at 1:02 pm
What are you doing with that file one in C#?
You could use SSIS or BCP out to dump that data into a csv or whatever and be done in 10...
June 15, 2011 at 1:01 pm
Viewing 15 posts - 5,401 through 5,415 (of 18,926 total)