Forum Replies Created

Viewing 15 posts - 43,426 through 43,440 (of 49,571 total)

  • RE: The famous "Must declare the variable '@...'" again :(

    😀

    GOs break batches and hence variables declared before will be out of scope afterwards.

  • RE: Ok, its their first day on the job.

    And if you're not learning from books, mentors or others when you are the senior DBA then either you know everything (which is unlikely) or you think you know everything.

    The...

  • RE: To get records from a few days ago...

    Garadin (10/31/2008)


    Syntax issue.

    Use this instead:

    select id, name, changedate

    from table1

    where changedate > GETDATE()-5

    Beware of the time portion of dates. That, if run now, would miss any entries with a time before...

  • RE: To get records from a few days ago...

    The where clause must be a condition that returns true or false. Your is not. changedate-5 is simply a value, it's not a condition. It will return a date 5...

  • RE: Transaction Log Free space

    yulichka (10/31/2008)


    recovery interval (min)03276700

    allow updates0100

    .....

    What's the question?

  • RE: Managing Transaction Logs

    Jack Corbett (10/31/2008)


    GilaMonster (10/31/2008)


    I'll put the suggestion on the list. Currently I'm contemplating an article 'Help, my database is corrupt, what do I do?'

    Pray your backups are good and restore?...

  • RE: The famous "Must declare the variable '@...'" again :(

    Can you fix the wrapping please?

    Does creating the proc give the error, or running it?

    I can create that without error on SQL 2008. Are you sure that's exactly what you're...

  • RE: Managing Transaction Logs

    Jack Corbett (10/31/2008)


    Very nice article Gail. Clear, concise, and to the point. Sounds like a follow-up on how the checkpoint and lazy writer work would be good.

    Thanks. Glad...

  • RE: Managing Transaction Logs

    Bob Bridges (10/31/2008)


    One thing I'm not absolutely clear on though... you mentioned the "daisy chain of logs" in recovery. If I have a full backup every night and have transaction...

  • RE: Managing Transaction Logs

    Karrasko's Co. (10/31/2008)


    What do you think about this method?

    I think it won't do what you think it will. If you truncate the transaction log then you can neither take a...

  • RE: Managing Transaction Logs

    Luke L (10/31/2008)


    Nice Article Gail, I did have one question though. Perhaps it's just me but it's been something I've seen here at SSC a few times in recent...

  • RE: Managing Transaction Logs

    Chirag (10/31/2008)


    Thank you Gail. That explains things clearly. So would the same apply to BLOB data. Would BLOB data be brought into memory and then modified?

    Exactly the same. The query...

  • RE: Total server memory vs Traget memory

    As far as I know, total is what it has and target is the value it's aiming for. If target is higher than total, then SQL will be acquiring more...

  • RE: When do we need to restore the system databases?

    When the drive that they're on fails.

    Model is not for DTS packages. Model is the template for creation of any other database (including tempDB when it gets recreated). MSDB is...

  • RE: Developement Difference between SQL 2000 and 2005?

    Books Online has a good section on what's new in 2005.

Viewing 15 posts - 43,426 through 43,440 (of 49,571 total)