Viewing 15 posts - 6,121 through 6,135 (of 10,144 total)
dwain.c (7/4/2012)
Did you know that inside the CROSS APPLY if you refer...
July 4, 2012 at 5:23 am
Messing around with some code yesterday got me thinking. DS8K throws away all the tally table rows where substring(string,n,1) isn't a delimiter. The discarded rows contain information - the distance...
July 4, 2012 at 5:13 am
GilaMonster (7/3/2012)
For anyone not on/not paying attention to twitter.....It seems to be official.... I'm a Microsoft Certified Master for SQL Server 2008.
https://twitter.com/SQLintheWild/statuses/220252281847808001
Fantastic! Well done Gail.
July 4, 2012 at 1:59 am
coronaride (7/3/2012)
Alright. Educational session in understanding what a PK constraint actually is today. Thanks a lot.
Everyone's a winner. Thanks for the feedback, coronaride.
July 4, 2012 at 1:52 am
Lynn Pettis (7/3/2012)
dir *.* /a: -D /b /s /n
NOTE: No space between the a: and the -D. I had to put...
July 3, 2012 at 9:15 am
SQLKnowItAll (7/3/2012)
July 3, 2012 at 8:34 am
Have a look at the output from this, it will point you in the direction. Come back if you have any trouble with it:
DROP TABLE #Filelist
CREATE TABLE #Filelist (DIRoutput VARCHAR(254))
INSERT...
July 3, 2012 at 8:33 am
-- use a variable for the date
DECLARE @MinCreatedDate DATETIME
SET @MinCreatedDate = '2012-06-01'
SELECT @MinCreatedDate -- check it's correct
-- start simple, look at the whole picture
-- don't aggregate until you're sure the...
July 3, 2012 at 5:30 am
Tuning indexes is quite tricky and can be daunting if you aren't familiar with the standard tools. Glenn Berry provides one of the best toolkits around and has written numerous...
July 3, 2012 at 5:07 am
SELECT
Verified = 100.00*SUM(CASE WHEN Verified = 'Yes' THEN [Count] ELSE 0 END)/SUM([Count]),
Unverified = 100.00*SUM(CASE WHEN Verified = 'No' THEN [Count] ELSE 0 END)/SUM([Count])
FROM (
SELECT
Verified,
[Count] = COUNT(*)
FROM #CustomerOrders
CROSS...
July 3, 2012 at 4:46 am
coronaride (7/2/2012)
It's not the index that's the problem. In fact, there's already a clustered index. It's the Primary Key constraint.
I'm really confused by this, since most effort on this thread...
July 3, 2012 at 4:22 am
Bobby Glover (7/2/2012)
I just reduced logical reads in a sproc from 350,000 to 611,
but physical reads are up from 0 to 14.
The table rows = 325,000
No sure if this represents...
July 3, 2012 at 2:38 am
praneshram (7/3/2012)
Hi All,Thanks for all of your valuble suggestions and i will be using 'ChrisM@Work' Suggestion. Thanks for all of your valuable time.
:blush: thanks!
July 3, 2012 at 2:36 am
Viewing 15 posts - 6,121 through 6,135 (of 10,144 total)