Viewing 15 posts - 691 through 705 (of 1,825 total)
IMO , a calendar table is essential.
If your datefirst is sunday then
you can simply use "datediff(ww" , since that counts the number of 'boundaries' not calendar weeks
July 30, 2010 at 1:59 am
Can you post the execution plan for the query Without the index hint ?
July 29, 2010 at 1:19 am
This is the wrong place to be validating data cleanliness and you should be using the correct datatypes. This has many many advantages.
You could test the data using the...
July 27, 2010 at 2:00 am
A calendar table is essential imho
July 27, 2010 at 1:27 am
How do you mean 'fails to do the conversion' ? Do you have data that does not match a date format in your 'date' fields? You should really...
July 27, 2010 at 1:24 am
Jeff Moden (7/22/2010)
The moral of the story is DO NOT RELY ON ESTIMATED OR ACTUAL EXECUTION PLAN COSTS OR PERCENT-OF-BATCH TO SELECT THE MOST PERFORMANT QUERY BECAUSE THE EXECUTION PLAN...
July 22, 2010 at 7:41 am
No difference, !< is translated to be >= by the engine. Try both and have a look at the predicates in the execution plan
July 20, 2010 at 1:38 am
Clustered index scans probably due to the function use.
Did you try the code Chris suggested ?
Additionally can you clarify you index strategy ?
In the spreadsheet you put this...
ColumnsAttributesIndexes
TransactionIDbigintUnique clustered
datedatetimeUnique clustered
So...
July 20, 2010 at 1:35 am
Though im not going to argue with your analysis, the premise of the article
"Best practices call for tempdb to have one datafile per processor (core)"
is based on a myth
"So,...
July 19, 2010 at 2:08 am
Just to add...
You have no idea what these guys have left on your machine. Your entire network has been compromised at its base level. If i were you...
July 16, 2010 at 1:05 pm
This
http://www.sqlservercentral.com/Forums/Topic953765-146-1.aspx
could be an interesting one to watch
July 16, 2010 at 6:47 am
Are they from an internal network or from the internet.
Please tell me that you havent been running with a blank sa password open to the internet.
If internal , get your...
July 16, 2010 at 5:41 am
Can you show us what you have got in terms of code already ?
July 16, 2010 at 2:18 am
Henrico Bekker (7/16/2010)
Dave Ballantyne (7/16/2010)
Here's the best optionLOL!, good one.... 😀
And for once , i was able to say BEST 🙂 *cough* other search engines are available *cough*
July 16, 2010 at 2:01 am
Viewing 15 posts - 691 through 705 (of 1,825 total)