Forum Replies Created

Viewing 15 posts - 241 through 255 (of 692 total)

  • RE: BAckup script

    Are you saying that your application is creating a new database every day?  If so, thats a lot of databases!  If this is an in house application, you really should...

  • RE: shrinkdatabase

    rpetty,

    The usage of the transaction log file can be EXTREMELY dynamic.  If you are loading, deleting, updating large amounts of data during a batch process, or rebuilding indexes, the transaction...

  • RE: Setting different databases to use in a stored procedure

    The dynamic sql gets around the limitation of using "USE" in a stored procedure.  The problem with Phil's code was that a stored procedure cannot be called using only the...

  • RE: selecting the first 7 out of 1000 rows. How can i do this?

    Bear in mind that as stated, it will give you the first seven records it happens to find, in no particular order.  Could be the first row inserted, 17th, 159th,...

  • RE: reading transaction logs

    The thousand dollar add-in is Lumigent Log Explorer (actually, I don't know the price).  http://www.lumigent.com

    When I think of a log, I think of a file that I can look at as...

  • RE: Getting all disks size

    You're absolutely right.  I was looking at the wrong procedure.  The procedure that I have that gets the total space is basically the same as the one Frank posted.

    Sorry for...

  • RE: Commpression rate on backup

    Its not compressed.  If you look at the backup size, it'll be the utilized part of the data file(s) + the utilized part of the transaction log file(s), at least...

  • RE: Getting all disks size

    The DOS DIR command will give you the drive capacity, but you'll have to parse the information out of the results.  I've done this in a stored procedure, but you said...

  • RE: How do I get log file space allocation and space used?

    By the way, our host, Steve Jones, wrote 'dbspCalcdbaSpaceDist' stored procedure, which pulls this information.  I think the procedure is available on this website.  There are a couple of minor...

  • RE: How do I get log file space allocation and space used?

    Take a look at 'dbcc sqlperf( logspace)'.  One caveat though.  If there are multiple

    log files, it will aggregate the data rather than providing stats for each file.  There doesn't seem...

  • RE: sql job does not run

    Hey, alzdba,

    I like that renaming of the job!  Makes it easy to tell at a glance that its disabled!

    Steve

  • RE: How to find NOT TOP 3? (Next rows after row 3)

    Henk,

    That is a GREAT story and explanation!  Glad is solved (at least for now!)

    Thanks for letting us know!

    Steve

  • RE: sql job does not run

    I think thats where your problem may be.  You should never update the system tables directly.  There are many "behind the scenes" things that you can't possibly take into account. ...

  • RE: Locating System databases on specific drive

    Be aware that SQL will create the MSSQL folder and the subfolders beneath that where ever you tell it.  So, if you select d:\SQL_Data\ as the location, your master data...

  • RE: sql job does not run

    There is a bug that affects job scheduling, but this doesn't sound like it.  Just make sure that you are on the latest service pack and you'll be ok as...

Viewing 15 posts - 241 through 255 (of 692 total)