Viewing 15 posts - 226 through 240 (of 709 total)
We have a table that stores ~3 billion rows with...
Eddie Wuerch
MCM: SQL
February 27, 2017 at 7:26 pm
update AGENTSTATUS set LASTRUNGMT = @P0 , MAIL = 0, VERSION_BUILD =...Eddie Wuerch
MCM: SQL
February 24, 2017 at 6:06 pm
Because each index in each object may be on a separate filegroup or partition scheme, drive your query off of sys.indexes, and join the data_space_id column to sys.filegroups.data_space_id.
Here's one...
Eddie Wuerch
MCM: SQL
February 14, 2017 at 9:49 pm
Indianrock - Tuesday, February 14, 2017 9:30 AMALTER TABLE [dbo].[ACCOUNT_OWNERSHIP_DOC_SUMMARY] ADD CONSTRAINT [ACCOUNT_OWNERSHIP_DOC_SUMMARY_UC1] UNIQUE NONCLUSTERED
(
[CLIENT_ID] ASC,
[ACCOUNT_ID] ASC,
[OWNERSHIP_DOC_ID] ASC
)
If the index...
Eddie Wuerch
MCM: SQL
February 14, 2017 at 8:33 pm
-- This line of code works: Eddie Wuerch
MCM: SQL
February 14, 2017 at 7:35 pm
So, you want numeric values greater than (-100) and less than 100:CREATE TABLE #testr (id int not null primary key, OrigVarchar varchar(7) NOT NULL);
GO
INSERT...
Eddie Wuerch
MCM: SQL
February 6, 2017 at 9:56 pm
You give yourself far more flexibility by creating a single Windows Failover Cluster out of all four servers, and installing both FCIs on each of them. Are there any security...
Eddie Wuerch
MCM: SQL
February 5, 2017 at 3:03 pm
Eddie Wuerch
MCM: SQL
January 27, 2017 at 2:44 am
Select * FROM A
WHERE
If Status =...
Eddie Wuerch
MCM: SQL
January 26, 2017 at 10:23 pm
All of this is absolutely terrible advice, and can only make a bad situation worse:
johnwalker10 (12/6/2016)
> Create new...
Eddie Wuerch
MCM: SQL
December 7, 2016 at 1:33 pm
Redesign the refresh to finish every night, no matter what.
Instead of blast-refreshing all of the rows, do it in smaller, fully-COMMITted batches, walking each source table in some key...
Eddie Wuerch
MCM: SQL
December 1, 2016 at 11:09 pm
Page (1:2090354), slot 34 in object ID 1811133843, index ID 7, partition ID 72057594060275712...
1. Index ID #7 is a non-clustered index. It contains copies of table data (the index keys),...
Eddie Wuerch
MCM: SQL
November 29, 2016 at 7:08 pm
When you connected to your instance over the VPN with SSMS, did you ensure you are also using Named Pipes for communication, and not TCP/IP, so you're attempting the same...
Eddie Wuerch
MCM: SQL
November 2, 2016 at 7:43 pm
That will not break the transaction log chain, because you still have every transaction log backup you've taken. The oldest of them reside in one location, the newest reside in...
Eddie Wuerch
MCM: SQL
September 20, 2016 at 4:15 pm
Describe 'in two backup paths'.
Are you backing up to two locations at the same time using the MIRROR TO keyword of the BACKUP command? If that's what you mean, then...
Eddie Wuerch
MCM: SQL
September 19, 2016 at 5:33 pm
Viewing 15 posts - 226 through 240 (of 709 total)