Viewing 15 posts - 331 through 345 (of 608 total)
Minnu (7/11/2013)
HOPE U UNDERSTAND BETTER NOW...
Yes, I understand now.
Your SSMS options allows you to open Object Explorer and a New Query at start-up. You probably have it set to open...
July 11, 2013 at 6:20 am
bert.hooks (7/11/2013)
Wow. Insults from an idiotic know-it-all.
Pot --> kettle --> black.
Excuse me for being defensive, but Microsoft products have been putting food on my table since 1996. I...
July 11, 2013 at 6:13 am
kk.86manu (7/11/2013)
Please let me know whether it is possible to use the same secondary filegroup for 2 different databases.
I tried manually and it did not allow.Just wanted to confirm...
July 11, 2013 at 5:47 am
bert.hooks (7/10/2013)
It's no less...
July 11, 2013 at 5:44 am
Minnu (7/11/2013)
John
Yes John Exactly,
I've all...
July 11, 2013 at 5:29 am
dwain.c (7/9/2013)
Sean Lange (7/9/2013)
I ran your query through a formatter to make it easier to read.You've got a SQL formatter? I'd like to hear about that!
There's loads of them....
July 10, 2013 at 3:38 am
Jason Shadonix (7/9/2013)
Just because it is old doesn't mean some of us won't find it to be useful information.
Glad the thread helped you, but it is not necessary to say...
July 10, 2013 at 3:35 am
JoNTSQLSrv (7/9/2013)
My only confusion is : In Salary point view ORACLE OR MS SQL SERVER ?
If salary is your number one priority then may I suggest getting into offshore drilling.
July 10, 2013 at 3:16 am
Both plans are timing out, but one in a second and one in 10 minutes.
<QueryPlan DegreeOfParallelism="0" MemoryGrant="5968" CachedPlanSize="1632" CompileTime="659453" CompileCPU="649780" CompileMemory="715616">
<QueryPlan DegreeOfParallelism="0" MemoryGrant="7296" CachedPlanSize="1720" CompileTime=" 1183" CompileCPU=" 1055"...
July 8, 2013 at 3:58 am
psingla (7/5/2013)
does it always skips 1000 rows or any random number?
SQL Server 2012 uses blocks of 1000 in a cache. When you restart the SQL Server service the next block...
July 5, 2013 at 7:28 am
Hi,
Stats are stored in a binary large object called a statsblob. These are very small, even with very large tables, and you will not find any performance gains by cleaning...
July 5, 2013 at 6:53 am
Davebhoy (7/4/2013)
Here's the SQL which runs instantly but if I change @client to 'XX' then it takes 20 seconds.
Please supply the actual execution plans for both.
July 5, 2013 at 4:06 am
dwain.c (7/4/2013)
Jeff Moden (7/4/2013)
The other thing to worry about is that XML will entitize (change to a code sequence) certain characters if they are present.
I don't suppose you'd...
July 5, 2013 at 3:51 am
You can use a DMV on your dev databases to check if Enterprise features are in use.
SELECT * FROM sys.dm_db_persisted_sku_features
July 3, 2013 at 4:36 am
Code To Simulate OP's Table:
CREATE TABLE customer (C_recid INT);
INSERT INTO customer VALUES (50200),(50194),(50430),(50191),(1);
Here is my solution:
DECLARE @Lookup TABLE (C_recid INT, OrderSeq SMALLINT);
INSERT INTO @Lookup VALUES (50200, 1), (50194, 2), (50430,...
July 3, 2013 at 4:14 am
Viewing 15 posts - 331 through 345 (of 608 total)