Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • Reply To: TempDb on Drive Root

    Comment Updated

    My original comment had said that the one exception to the "don't use the root" rule was the ephemeral D drive for Azure VMs.

    However, having experimented, you shouldn't put...

    • This reply was modified 1 year, 11 months ago by  JohnBevan. Reason: Original comment contained incorrect advice
    Attachments:
    You must be logged in to view attached files.
  • RE: last backup date query

    Here's a version that'll run on one database and produce results for all databases (assuming they're setup as linked servers on the main db).

    Could be further improved by putting the...

  • RE: pass table name as a parameter in stored procedure

    Heya,

    possibly a bit late, but if it's still of use. . .

    Alter procedure tabproc

    (

    @tablename sysname

    )

    as

    begin

    EXEC('Select count(*) from ' + @tablename + ' where isactive = 0' )

    End

    Basically the code in...

Viewing 3 posts - 1 through 3 (of 3 total)