Viewing 15 posts - 1,231 through 1,245 (of 5,103 total)
wjones21 (6/3/2008)
OK, so what is the recommended method for stopping/pausing replication for the duration of the maintenance event? What is the recommended method for restarting it?
You can stop and disable...
* Noel
June 4, 2008 at 12:10 pm
it has been my experience that "is_subscribed" does NOT work 😉
* Noel
June 4, 2008 at 12:05 pm
gavin.duncan (6/4/2008)
OK........ive made the changes and have ended up with the following:
IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
...
* Noel
June 4, 2008 at 11:14 am
hehe :
IF NOT EXITS
should be:
IF NOT EXISTS
* Noel
June 4, 2008 at 9:58 am
dmontgomery (6/4/2008)
ALTER PROCEDURE [dbo].[filtersortlikeDGV]
@SrtBy NVARCHAR(20),
@ItmType NVARCHAR(20) = 'All Items',
@CatName NVARCHAR(20) =...
* Noel
June 4, 2008 at 9:55 am
gavin.duncan (6/4/2008)
OK..........i removed the 'GO's and the code i am left with is:
IF NOT EXITS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE...
* Noel
June 4, 2008 at 9:50 am
gavin.duncan (6/4/2008)
OK..........ive taken your code and modified it as such:
IF NOT EXITS (SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_TYPE =...
* Noel
June 4, 2008 at 9:37 am
IF EXITS (SELECT *
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS
WHERE CONSTRAINT_TYPE = 'PRIMARY KEY'
AND TABLE_NAME = '..... your table name ....'
AND TABLE_SCHEMA ='dbo' )
BEGIN
---- Your code here
END
* Noel
June 4, 2008 at 9:24 am
if you don't have indexed views nor Triggers the only thing left for me to guess is that your foreign keys are defined with CASCADE actions can you post the...
* Noel
June 4, 2008 at 8:04 am
IF your distribution retention period is BIG enough to cover for the outage you should be fine!
* Noel
June 3, 2008 at 3:40 pm
You could look at setting up an alert for "14238" but because we can't make it "logged" in 2005 it probably wouldn't work.
I would still give it a go......
* Noel
June 3, 2008 at 3:37 pm
sometimes is good to warn people about "sending emails from triggers may not be what you want" 😉
* Noel
June 3, 2008 at 3:26 pm
definitely a CLR function will be the best bet ...IF ... you have CLR enabled 😉
* Noel
June 3, 2008 at 3:19 pm
you should check the indexes for fragmentation and also probably update the stats after the batch finishes.
* Noel
June 3, 2008 at 1:28 pm
Viewing 15 posts - 1,231 through 1,245 (of 5,103 total)