Viewing 15 posts - 3,586 through 3,600 (of 5,393 total)
Now we just need somebody to say SQL is nothing like COBOL...:-D
-- Gianluca Sartori
December 21, 2010 at 2:05 am
SQLkiwi (12/21/2010)
Notice the ConstExprxxxx column reference - this often indicates a run-time constant is being used.
Conor Cunningham has a nice blog post on Runtime Constants:
-- Gianluca Sartori
December 21, 2010 at 1:26 am
Last run date is by definition the date the report runs, AKA GETDATE().
-- Gianluca Sartori
December 21, 2010 at 1:18 am
Can you post the actual execution plan?
You may also take a look at this article on how to post performace problems:
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
-- Gianluca Sartori
December 21, 2010 at 1:15 am
CirquedeSQLeil (12/20/2010)
The Dixie Flatline (12/20/2010)
Congratulations, Gianluca 😀I echo that - Congrats Gianluca.
Sorry for the delay...
Thanks Jason, Bob and Paul!
-- Gianluca Sartori
December 21, 2010 at 1:09 am
I don't want to look like you-know-who, but you really have to fix your design.
Try putting the ethnicity column in a separate 0-N table. This is what the UNPIVOT does...
-- Gianluca Sartori
December 21, 2010 at 12:58 am
I did not understand the mixed ethnicity part, but I think you can work on something like this:
DECLARE @Ethnicity TABLE (
[PersonID] INT NULL,
[ETH_CAUCASIAN] [varchar](10) NULL,
[ETH_AFRAMER] [varchar](10) NULL,
[ETH_HISP] [varchar](10) NULL,
[ETH_NATIVEAMER] [varchar](10)...
-- Gianluca Sartori
December 20, 2010 at 10:40 am
Have you tried with UNPIVOT?
Can you post table scripts and some sample data?
-- Gianluca Sartori
December 20, 2010 at 10:02 am
Grant Fritchey (12/20/2010)
Your post stood out because of the "who are you married to" comment.
:hehe: It was the only part I was not happy with. :hehe::-D
Surprisingly, it was...
-- Gianluca Sartori
December 20, 2010 at 9:49 am
Yes, that's my post!
I couldn't load Grant's blog today, it seemed to be down, but now it loads and also I got a mail from him.
I can't believe it!
-- Gianluca Sartori
December 20, 2010 at 8:10 am
Roy Ernest (12/20/2010)
Congrats to Gianluca Sartori. Won a free iPad.
Did I??? Great!!!!!
Thank you Red-Gate, Grant and Steve!!!
Where did you see this, Roy?
-- Gianluca Sartori
December 20, 2010 at 7:35 am
This looks more like the title of a book rather than a question.
Doesn't BOL cover the topic with enough detail?
-- Gianluca Sartori
December 20, 2010 at 5:50 am
SQLkiwi (12/18/2010)
It's a very new product, and will no doubt be much...
-- Gianluca Sartori
December 20, 2010 at 1:17 am
Craig Farrell (12/17/2010)
-- Gianluca Sartori
December 17, 2010 at 10:50 am
GilaMonster (12/17/2010)
CirquedeSQLeil (12/17/2010)
I see an x86 and amd64 version. Too bad they don't have an intel 64 bit version.
The x64 processor architecture is sometimes known as AMD64 because AMD...
-- Gianluca Sartori
December 17, 2010 at 10:18 am
Viewing 15 posts - 3,586 through 3,600 (of 5,393 total)