Forum Replies Created

Viewing 15 posts - 47,176 through 47,190 (of 49,571 total)

  • RE: Backups - Sanity Check for a non-DBA please?

    Christopher G.S. Johnson (3/18/2008)


    Any thoughts on the order of maintenance plan operations - optimization, integrity check and backups?

    That should be fine. Just make sure shrink isn't included in...

  • RE: Performance Issue - stored procedure

    What do the execution plans look like?

    If you can post the script of the proc and the schemas of the tables (with index definitions), we can offer suggestions.

  • RE: SELECT WITH NOLOCKS

    Personally I'd recommend finding the cause of the deadlocks and resolving that (usually bad code or bad indexing) rather than putting nolock everywhere. It can have some interesting effects (read...

  • RE: Backup Strategy - sanity check needed

    Litespeed's pretty good. It's used at my company and we haven't had an issue with it.

    Regarding the tape backups, test them, test them and test them again. Tapes do fail....

  • RE: DeadLock

    I'm so used to the output of 1204 that it's not a challenge to read anymore. Could be that this is not a good thing.

    Is the output of 1222...

  • RE: I/O Error (bad page id)

    Do you have a previous database backup?

    Run the following and see what it says.

    DBCC CHECKDB ('MyDB') with no_infomsgs

  • RE: SUSPECT DB

    Ack. That should be the very last resort when all else fails, not the first thing to try.

    The system tables should not be updated. Doing so can have nasty consequences.

  • RE: [extended Stored procedure]

    It's a fairly big topic. Books online has a good coverage. Have a look through that, then if you have specific questions, post them here.

  • RE: Are temp tables better than table variables

    Jeff Moden (3/17/2008)


    There's a whole lot of minor differences but the big difference is, table variables do not and cannot be made to use statistics.

    Yup. And that, along with the...

  • RE: [extended Stored procedure]

    If yu're using SQL 2005, you should avoid extended stored procs. They are deprecated. use CLR instead.

    What does your extended proc do?

  • RE: Changing SA Pwd or Adding Sysadmin login

    Is that account in the local administrators group?

    Are you sure something else isn't connecting in? SQL Agent, MOM, anything like that?

  • RE: DBCC CHECKDB - how use it in a maintenance plan ?

    Sure it's necessary. CheckDB checks to see if there's any corruption of any form in the database. Invalid checksums, bad page linkage, out of range column values, etc

    I would suggest...

  • RE: DeadLock

    You can also use profiler to detect deadlocks, but it requires running a constant trsace, which I prefer not doing.

    Fixing deadlocks is a pretty wide topic. Generally bad code is...

  • RE: Changing SA Pwd or Adding Sysadmin login

    Yup, and it does work. Had to do that a couple months ago after someone removed builtin\admins without adding the DBA's windows group first. :hehe:

    Shut down the SQL service (and...

  • RE: Syntax error on executing this Performance tuning query

    Probably compatability mode. What do the following queries return?

    SELECT @@version

    exec sp_dbcmptlevel < Name of the database you're in >

Viewing 15 posts - 47,176 through 47,190 (of 49,571 total)