Forum Replies Created

Viewing 15 posts - 1 through 15 (of 18 total)

  • RE: Dropping Stored Procedures

    rbarryyoung (7/8/2008)


    I gotta admit, I didn't realize that GO worked as anything other than a client tool batch seperator.

    In the case of multiple SELECT statements, the "GO" separator is simply...

  • RE: Dropping Stored Procedures

    Jeff Moden (7/7/2008)


    David Naples (7/7/2008)


    You can't do this directly, as the CREATE PROCEDURE or ALTER PROCEDURE statement has to be the first in the batch.

    Ummm... maybe not directly, but...

  • RE: Dropping Stored Procedures

    Satya (7/7/2008)


    Hai.

    if anyone know how we can alter all storedprocedures exists in one database by using query in sqlservr 2000, please let me know.

    Thanks in advance

    Developer

    You can't do this directly,...

  • RE: Bulk-Logged Recovery Model

    You have to be more specific about what you mean by "restore time." If you are talking only about the amount of time to restore a backup into SQL Server,...

  • RE: Bulk-Logged Recovery Model

    The thing with LiteSpeed is, if you use top-level LiteSpeed compression and then try to compress the files with something like bZip2 or WinRAR, your compressed files are actually larger...

  • RE: Bulk-Logged Recovery Model

    Anchelin:

    Careful what ya ask for, pal. It's more than one script. 🙂

    All objects described below are located in the [master] database on each server. The tables are populated and the...

  • RE: Bulk-Logged Recovery Model

    Are you sure that you have bulk-logged as your recovery model?

    None of these are bulk-logged. Some are full recovery and some are simple. The full-recovery databases are the only ones...

  • RE: Bulk-Logged Recovery Model

    What we do here is the following:

    Full backup every Sat night at midnight (Sun morning, actually)

    Differential backups midnight every other day of the week

    Log backups evey 15 minutes

    These are backed...

  • RE: Dropping Stored Procedures

    IMHO, if you are generating change scripts every day to promote to production, it sounds like you are in need to a release scheduling process. Doing things on the fly...

  • RE: Delete command is taking forever

    Try this on for size:

    /*********************************************************************/

    SET NOCOUNT ON

    DECLARE @START_DT Datetime

    DECLARE @BatchSize INT

    DECLARE @RowsDeleted BIGINT

    DECLARE @MyRowcount BIGINT

    --SET @START_DT TO THE FIRST OF THE MONTH 6 MONTHS AGO

    SET @START_DT = GETDATE() - 180...

  • RE: Best Practices

    Matt, I couldn't agree with you more, hence the new policy. My philosophy is going to be similar to the NSA's computer security division: "We found a problem, now YOU...

  • RE: Update values within trigger

    You're right. If the SET RECURSIVE_TRIGGERS ON option has been set, then it will. You can avoid this by changing the code as follows:

    create trigger trgFubar_UPD on Fubar AFTER Update

    ...

  • RE: Best Practices

    The only downside to having everything in SPs is that it would mean that developers have the ability to write SQL code. It's been my experience that, unless they are...

  • RE: SQL Server Alert System: 'Full Transaction Log

    There is a way to get around this problem, but it involves a lot of legwork and can be very time-consuming to run. Basically what you will be doing is...

  • RE: One DB per user, what do you think?

    My preference would be a single database and use partitioned views to allow segregated access to the data. There is a possibility of a minor performance hit, but it would...

Viewing 15 posts - 1 through 15 (of 18 total)