Forum Replies Created

Viewing 15 posts - 436 through 450 (of 492 total)

  • RE: Alert

    If these are SQL 2000 Jobs you are talking about I would set each step to "on failure go to" and send it to a special "Send e-mail on failure"...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: drop login

    You can just genereate the commands for each database by running this in master. Then run the output in master. Just replace UserName with the name in the database. If...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: drop login

    Correct, dropping a login doesn't remove the user from the database. You need to go through each database and find all the orphaned users and drop them at the database...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: need to know the truth

    Brad is normally very good, but I think he got this one back to front. CHECKSUM checks every bit on the page and creates the checksum, written to the page...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Need to drop database files with data in them

    Personally since they broke it, I'd get the vendor in and tell them to fix it.

    I'm also trying to work out how they managed to double up your data. Tables...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Deadlock!!!!! plz help

    sanketahir1985 (5/20/2010)


    Hi frndz

    2010-05-20 14:57:42.770 spid6s SPID: 189 ECID: 0 Statement Type: TRUNCATE TABLE Line #: 240

    .....

    .....

    2010-05-20 14:57:42.770 spid6s ...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: grant Permissions to all store procs at a time

    striker-baba (5/19/2010)


    so that the user can get access to them and see from his login id.

    If all you want is for them to see the meta-data, but not make changes...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Best practice to keep the error log file size

    Create a SQL Job that will cycle the error log on a regular basis. I typically recommend once a week, but you would need to see what gives you a...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: TSQL Correction required

    Leo.Miller (5/19/2010)


    You can use this as a base

    select 'EXEC sp_addrolemember ' +char(39) + db_name() + char(39)

    + ', ' + char(39) + name + char(39) from sys.sysusers

    where uid > 4...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: TSQL Correction required

    You can use this as a base

    select 'EXEC sp_addrolemember ' +char(39) + db_name() + char(39)

    + ', ' + char(39) + name + char(39) from sys.sysusers

    where uid > 4 and...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: size of transaction log

    magasvs (5/19/2010)


    There are no really rules about transaction log's sizing. It depends on too many factors.

    True, but it is good to have something to baseline against, that's why it's...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Clearing Missing index usage

    I agree with the others EXCEPT...

    If you have created indexes that closely match those recommended in the DMVs SQL will clear the matching indexe information from the vews.

    Leo

    Striving to provide...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: size of transaction log

    Another reason to find what caused the log file to blow out to 50GB is that if it happens again it will mess up your log shipping. It's reasonable to...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: Transferring data from MySql to MS SQL Server

    nikhil.desai1 (5/19/2010)


    Hi,

    This transfer should be online.

    What do you mean by the above?

    You could just export the data to a file and then import it.

    I've recently had to do this for...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

  • RE: GHOST CLEANUP locked up my system

    If you have a current backup of msdb you can try this:

    Restore the backup under a different name - Mymsdb

    stop the sql server and Agent services

    rename the msdb files so...

    Leo
    Nothing in life is ever so complicated that with a little work it can't be made more complicated.

Viewing 15 posts - 436 through 450 (of 492 total)