Forum Replies Created

Viewing 15 posts - 481 through 495 (of 920 total)

  • RE: Restore Db from transaction Logs

    Could you show us the restore command you're using, the messages you get out of the restore operation, and the DBCC commands you issue after the restore is complete? ...


    And then again, I might be wrong ...
    David Webb

  • RE: SQLServer Agent 'sed' job reporting success; but does nothing

    Permissions problem? When you run it under your credentials, it works, but the agent is using the credentials of the account the agent is running under. The first...


    And then again, I might be wrong ...
    David Webb

  • RE: Not deleting my dates correctly

    Is it the time portion of the date that causes the incomplete delete? Getdate will return a time portion also and subtracting days will leave the time portion intact...


    And then again, I might be wrong ...
    David Webb

  • RE: The value of variable is disappearing in stored procedure

    Just a shot in the dark without being able to see the code, but if you're using the variable in any concatenation operation, you might want to set the CONCAT_NULL_YIELDS_NULL...


    And then again, I might be wrong ...
    David Webb

  • RE: Newbie Needs Help on Substrings

    So it's

    select '09' + Ther_id

    or

    select '09' + convert(varchar(4),Ther_id)

    depending on whether Ther_id is a character or numeric datatype already.


    And then again, I might be wrong ...
    David Webb

  • RE: Newbie Needs Help on Substrings

    It sounds more like a concatenation problem rather than a substring.

    select '09' + convert(varchar(4), id) from ....

    will get you 09xxxx where xxxx is the id. If the id...


    And then again, I might be wrong ...
    David Webb

  • RE: Where are you?

    Tacoma, Washington

    Born and raised in Cannonsburg, Kentucky

    Lived in Huntington Beach, California, for 9 years then moved north and plan to stay. Washington is beautiful, the people are friendly and...


    And then again, I might be wrong ...
    David Webb

  • RE: transaction log full

    I'm not sure there is a 'best practice', but here's a link to a Microsoft article that, I think, covers what you want to do.

    http://support.microsoft.com/kb/272318

    Good luck.


    And then again, I might be wrong ...
    David Webb

  • RE: transaction log full

    When the database is in full recovery mode, the log will grow until you back it up, at which point, it will remove the committed transactions and reuse the space...


    And then again, I might be wrong ...
    David Webb

  • RE: transaction log full

    What recovery mode is the database in? Can you back up the log to another drive?


    And then again, I might be wrong ...
    David Webb

  • RE: how to show deleted rows

    Judging by the tone of the posts, I think he meant 'you couldn't have been more helpful' . It was a sincere 'thank you', not a complaint.


    And then again, I might be wrong ...
    David Webb

  • RE: Query 5000 Tables for data

    Build another table. Copy the data from all the individual tables into the central table and add a customer id, if there isn't one already. Report from the...


    And then again, I might be wrong ...
    David Webb

  • RE: Look at everything, change nothing

    They spent 4 months testing the applications to make sure they would work in a native 2005 environment. The test databases were also in 2000 compatibility mode, so they...


    And then again, I might be wrong ...
    David Webb

  • RE: Look at everything, change nothing

    Yes, it's a strange position to be in. I just found out that the outsourcer, who shall remain nameless, was paid to migrate some databases from SQL Server 2000...


    And then again, I might be wrong ...
    David Webb

  • RE: Why doesn't this work?

    If all you're really trying to do is reverse the string, why not use reverse()?


    And then again, I might be wrong ...
    David Webb

Viewing 15 posts - 481 through 495 (of 920 total)