Viewing 15 posts - 4,531 through 4,545 (of 8,416 total)
anshu84onnet (3/31/2010)
March 31, 2010 at 10:03 am
naresh1253 (3/31/2010)
Oh..thats a better approach. Thanks for the advice.
No worries.
March 31, 2010 at 9:59 am
It all boils down to the way SQL Server estimates cardinality and cost when an OR is present.
Are you using SQL Server 2008? The optimizer frequently manages this type...
March 31, 2010 at 9:59 am
Yes, used in production, replacing LiteSpeed.
Very happy with it.
March 31, 2010 at 9:50 am
GilaMonster (3/31/2010)
March 31, 2010 at 9:48 am
Chris Morris-439714 (3/31/2010)
Jasey-wasey.
Awesome.
I work for a posh bra company, and on that day, I fitted in one.
Double awesome, with chocolate awesome sprinkles.
March 31, 2010 at 9:38 am
GilaMonster (3/31/2010)
Paul White NZ (3/31/2010)
He will still need to run EXEC sys.sp_repldone @xactid = NULL, @xact_segno = NULL, @numtrans = 0, @time = 0, @reset = 1;
If this is one...
March 31, 2010 at 9:36 am
timothy.g.parker (3/31/2010)
It should be noted, that depending on your record sets, the count(*) should be replaced with count_big(*) to give the you the correct results.
Ever wonder why there's no SUM_BIG?
March 31, 2010 at 9:34 am
Trey Staker (3/31/2010)
Also, I learned a lot more from the discussion from Paul and Hugo.
Hey thanks, Trey. Hugo's always good for a quality discussion 🙂
March 31, 2010 at 9:32 am
GilaMonster (3/31/2010)
Except that you cannot insert into a CTE.
Someone's going to post this...may as well be me 🙂
DECLARE @T
TABLE (A INTEGER NOT NULL);
WITH CTE
AS ...
March 31, 2010 at 9:30 am
GilaMonster (3/31/2010)
Paul White NZ (3/31/2010)
March 31, 2010 at 9:25 am
If all you want to do is to get rid of the logs, the fastest way is to use the CREATE DATABASE...FOR ATTACH_REBUILD_LOG statement.
sp_attach_single_file_db is limited to databases that only...
March 31, 2010 at 9:15 am
Books Online (the help system that comes with SQL Server) is also an excellent resource, and may be more accessible to the beginner.
March 31, 2010 at 9:06 am
keepintouch2b (3/31/2010)
March 31, 2010 at 9:02 am
Viewing 15 posts - 4,531 through 4,545 (of 8,416 total)