Forum Replies Created

Viewing 15 posts - 5,566 through 5,580 (of 18,926 total)

  • RE: datetime in MSSQL 2008

    Well I'm out of ideas.

  • RE: Possible problem with statistics ???

    It's a 20% sample... so check 1 row, skip 4, check 1 row... etc.

    Not sure this is exactly how it is implemented but it wouldn't make any sense to scan...

  • RE: Daily backup - Full database backup for SQL 2000

    ridzuan_first (6/2/2011)


    My only thing I need to do is delete the old database files older than 7 days.

    Search this site for scripts... there are plenty that do that. Mine...

  • RE: Comparing strings

    Sayeed Master (6/2/2011)


    Yup you're right. Thanks for the hint about the inner join, thats alot cleaner method. Apologies but I'm new to SQL, still learning.

    Just a means to end.

    We've all...

  • RE: datetime in MSSQL 2008

    That's SSMS you need to see what the app settings are once connected to the server.

    Start a default trace and paste the value of the event existing connection.

    It should look...

  • RE: accidental DBA needing help

    For reallllllllly basic you can go to w3schools.

    After that you can read and search problems on this forum... and then ask questions for what you don't find.

  • RE: Where am I at in my SQL DBA Career?

    SQL Guy 1 (6/1/2011)


    But what the difference it makes for you how you call yourself Junoir, Senior.

    For me... nothing. I've always been the only DBA so I just...

  • RE: db file size

    sqlfriends (6/1/2011)


    Thanks .

    I do need a way to figure out how fast the database grow.

    I will give a try of the script.

    Also is the database full backup file size...

  • RE: Moving Instance from Drive to Drive on same server

    Vertigo44 (6/1/2011)


    Ninja's_RGR'us (6/1/2011)


    Why move the whole thing?

    Just move the user databases to the new drive.

    quote]

    I'm not sure I understand you... I could be mistaken but wouldn't I want to move...

  • RE: Possible problem with statistics ???

    Then try this, don't rebuild the index but only do the stats.

    I'm pretty sure that doing a simple update stats with 20% should be enough and wouldn't take hours to...

  • RE: datetime in MSSQL 2008

    Feanor (6/1/2011)


    Hi,

    still same problems.

    I triple checked regional settings.

    Regional / Format: Slovenian,

    Location - Slovenia

    Keyboard - slovenian

    so (input language, format, location) all set to slovenia.

    I'm logged as administrator and I have...

  • RE: Stored procedure with trigger inside

    GilaMonster (6/1/2011)


    Great, not go back and look at Ninja's comments on this trigger.

    It will NOT work properly if more than one row is affected by Insert.

    And AGAIN. WHY oh...

  • RE: Possible problem with statistics ???

    sqlnaive (6/1/2011)


    Hello Ninja, We do rebuild for all the indexes in the tables [which I think updates the stats on those indexes as well].

    Thereafter our batch starts which populates...

  • RE: Stored procedure with trigger inside

    GilaMonster (6/1/2011)


    Missed that.

    Ok, for the rest, replace the EXEC with Print (and remove the brackets) and post the printed out statement

    Looks like a fixed by posting a question effect.

    I did...

  • RE: Stored procedure with trigger inside

    BTW I still don't understand why you need to run this in a proc.

    And your trigger still fails if more than 1 row is affected in the transaction that fires...

Viewing 15 posts - 5,566 through 5,580 (of 18,926 total)