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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.