Viewing 15 posts - 2,821 through 2,835 (of 5,841 total)
Jeff Langdon (9/13/2012)
Adam Haines (9/13/2012)
September 13, 2012 at 8:09 am
Scammers and Charlatans the lot of you!! 😛
September 12, 2012 at 7:56 am
lianvh (9/11/2012)
I am frustrated, because , a consultancy firm used this tool and now to keep the peace we have to implement this setting.
May I recommend that you find a...
September 12, 2012 at 4:26 am
My understanding is that stats are not "swapped out" until they are complete - at which point stuff is marked as recompile. So your existing plan will keep getting...
September 10, 2012 at 8:45 am
GilaMonster (9/3/2012)
You need to make sure your profile trace included all...
September 4, 2012 at 8:09 am
GilaMonster (8/28/2012)
TheSQLGuru (8/28/2012)
Personally I think that is a better query in any case, the IN's just offend my delicate sensibilities. 🙂Why?
Because I have delicate sensibilities, of course!! 😀
I also...
August 28, 2012 at 10:14 am
Rem70Rem (8/27/2012)
Thanks GSquared....interestingly, this works great:
select * from TableA a
where not exists (select CustID from remoteserver.PRDA.dbo.Cust b where b.Custid=a.Custid)
Personally I think that is a better query in...
August 28, 2012 at 7:46 am
Get/find articles/books by Itzik Ben-Gan that discuss the Gaps and Islands problems. He (and others) provide a range of solutions to this scheduling problem.
August 28, 2012 at 7:35 am
I am going to take what Gail said up a notch: it is utterly ridiculous for this client to ask you to set up their HA/DR stuff given that...
August 28, 2012 at 7:34 am
Jeff, why do you include LTRIM(RTRIM(OriginalString)) in your code? Isn't that (potentially completely unnecessary) work for nothing because your remaining code would handle any leading/trailing spaces anyway? Did/can you...
August 19, 2012 at 8:28 am
guerillaunit (8/16/2012)
Is there a reason why you would need to drop the nonclustered indexes after truncating a table and before inserting new data to prevent fragmentation? I am...
August 16, 2012 at 10:04 am
Oops! Too quick read/reply.
I would use sys.dm_db_index_usage_stats, which does report user_seeks for your situation (at least with the test setup I did).
August 16, 2012 at 9:25 am
SQLSACT (8/8/2012)
I'm struggling to understand why my Index is reporting Range_scans
DDL:
Table:
CREATE TABLE [dbo].[Indexing2](
[Col1] [int] IDENTITY(1,1) NOT NULL,
[Col2] [int] NULL,
[Col3] [int] NULL,
[Col4] [int] NULL
)
Indexes:
CREATE CLUSTERED INDEX [CX] ON [dbo].[Indexing2] ([Col1])...
August 16, 2012 at 8:36 am
Mark Eckeard (8/15/2012)
August 16, 2012 at 8:29 am
Since you are truncating the table first and then inserting rows, it is SIGNIFICANTLY better to drop the nonclustered indexes, insert the data, and then recreate the nonclustered indexes. ...
August 16, 2012 at 8:22 am
Viewing 15 posts - 2,821 through 2,835 (of 5,841 total)