Viewing 15 posts - 16 through 30 (of 303 total)
TheSQLGuru (11/4/2010)
November 4, 2010 at 8:45 am
Thanks to all of you for your help! 🙂
November 3, 2010 at 7:29 am
GilaMonster (11/2/2010)
CREATE TABLE #t1 (id int)
CREATE TABLE #t2 (id int)
CREATE...
November 2, 2010 at 12:29 pm
GilaMonster (11/2/2010)
Yes it will, because you've explicitly named the constraints (not indexes) and those names must be unique in a database. Indexes just have to be unique on a table
This...
November 2, 2010 at 12:18 pm
Craig Farrell (11/2/2010)
Goldie Lesser (11/2/2010)
Ninja's_RGR'us (11/2/2010)
I do that in prod no problem. Can you post the create table and index scripts you are using?
All 3 of these fail:
CREATE TABLE...
November 2, 2010 at 12:05 pm
Ninja's_RGR'us (11/2/2010)
I do that in prod no problem. Can you post the create table and index scripts you are using?
All 3 of these fail:
CREATE TABLE #Table1
(
TeacherID ...
November 2, 2010 at 11:43 am
Thanks for the excellent article! It was very clear and informative!
I think a deeper understanding of how the optimizer works helps us to write better queries.
Looking forward to the rest...
September 7, 2010 at 1:53 pm
Wow. Thanks for all the extra info, Mike.
Much appreciated!
July 1, 2010 at 10:22 am
Mike C (7/1/2010)
July 1, 2010 at 8:31 am
simflex-897410 (5/17/2010)
So, I build the sql using query analyzer. When I get the results I am...
May 17, 2010 at 12:15 pm
simflex-897410 (5/17/2010)
I am still struggling with the dynamic date. I will continue to try to figure it out.
It isn't making sense to me. I am more...
May 17, 2010 at 11:15 am
Think about it this way. You know the list of dates before you start the query.
Then you can use them as columns.
You can try something like this. (no promises that...
May 17, 2010 at 11:12 am
simflex-897410 (5/14/2010)
I want to sincerely and wholeheartedly thank you ALL for your kindness.
You're quite welcome!
I know that Goldie's is only missing the YTD total that's as a result of waiting...
May 17, 2010 at 8:31 am
TheSQLGuru (5/14/2010)
http://www.sommarskog.se/pivot_sp.sp could help. Erland has some really good stuff on his website.
I could make the pivot dynamic, but first I want to make sure the data is what...
May 14, 2010 at 10:10 am
ciss1 (5/13/2010)
Please don't let my thread die a slow death.If there is some additional information I need to provide, please let me know.
Thanks
The reason no one has responded is that...
May 14, 2010 at 7:52 am
Viewing 15 posts - 16 through 30 (of 303 total)