Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sqlguy1

    How to determine SQL Server DB backup file size?

    Here is the command I am using: sqlcmd -S.\JWSAPEX -U jwsapex -P jwsapex -Q"backup database JwsData%4 to disk = 'JwsData%4.bak'" sqlcmd -S.\JWSAPEX -U jwsapex -P jwsapex -Q"backup database JwsAudit%4 to disk = 'JwsAudit%4.bak'" sqlcmd -S.\JWSAPEX -U jwsapex -P jwsapex -Q"backup database...
  2. sqlguy1

    How to determine SQL Server DB backup file size?

    Is there a way to know how much disk space a SQL Server 2008 database backup file (*.bak) should take up? I am running the backup database command via sqlcmd to backup a DB. However, it seems the *.bak file is getting very bloated. The backup gets run every day. Could the backup be appending the...
  3. sqlguy1

    SQL Server 2008 database size

    Is there a way to know how much disk space a SQL Server 2008 database backup file (*.bak) should take up? I am running the backup database command via sqlcmd to backup a DB. However, it seems the *.bak file is getting very bloated. The backup gets run every day. Could the backup be appending...
  4. sqlguy1

    How to find the difference for a numeric field with 2 records?

    Is there a way in SQL to find the difference for a numeric field between the current record and the previous record? For example, a table has a field called InvoiceNbr. The currect record has InvoiceNbr = 1500. The previous record has the same InvoiceNbr field = 1000 so the difference would be...

Part and Inventory Search

Back
Top