Forum Replies Created

Viewing 15 posts - 406 through 420 (of 692 total)

  • RE: LSN Error Reporting issues

    I'm having a difficult time following exactly what occured in your test, but it looks like the truncate you attempted in step 6 did not succeed, therefore the log sequence...

  • RE: Restore from multiple files

    What are the four files?

    All databases must have at least two files, an mdf (data) and an ldf (transaction log).  They can also have one or more ndf (additional data, or...

  • RE: Restore log backup without database backup file

    I don't know where my head was, but it certainly wasn't where it should have been.  That first sentence is WRONG!  A transaction log backup contains the transactions that have...

  • RE: How to shrink logfiles

    There is a difference between shrinking and truncating a log file.  Truncating (done with a transaction log backup) removes inactive transactions from the file.  Shrinking removes unused space from the...

  • RE: Restore log backup without database backup file

    A transaction log backup contains the transactions that have occured since the last backup was taken (full, diff, or tran).  It keeps track of this using an LSN (log sequence...

  • RE: Mssql 6.6 and cast and convert functions!!

    CAST was not added to SQL Server until version 7.0 .

  • RE: How to find out a person is reached 21 years old?

    I agree that Bob's solution is excellent, and I'm not going to say that this is any better, just a slightly different take.

    You could subtract 21 years from the current...

  • RE: Unable to restore from backup

    Can you cut and paste the text of the message?  All I see is a red x.

    Steve

  • RE: sp_add_jobstep

    Script an existing job (right click on the job, select "all tasks", select "generate scripts", "preview", and "copy", then paste into query analyzer) to get the syntax, and just make...

  • RE: Looking for a way to create a job dependency

    I'm not sure about handling across servers, possibly master/target servers.  But you could use sp_start_job for your dependencies.  Just add a step to Job A that fires Job B using that...

  • RE: Change DB Properties

    These changes can be made without restarting and are painless.  The main consideration is if the database is "owned" by a 3rd party application, making any changes could void the...

  • RE: Compute Sum

    Try this...

    select @Total = sum(amount) from customer

    Steve

  • RE: changing logical file name

    You can restore the database to the second server without changing the logical filename.  However, you should change the physical file name.  Use the "WITH MOVE" clause in the restore...

  • RE: Transfer of backups

    I know you said you want to use operating system command.  But, if you were to write it in SQL, you would have more flexibility. 

    Example: You could call your...

  • RE: DBA techniques

    Just to focus on the Windows 2000 command part of the question, I have found a couple of resources quite valuable.

    http://www.jpsdomain.org/index.html?winshell/winshell.html

    and the book "Windows NT Shell Scripting" by...

Viewing 15 posts - 406 through 420 (of 692 total)