Forum Replies Created

Viewing 15 posts - 42,976 through 42,990 (of 49,552 total)

  • RE: Can we take Tail log backup in sql server 2000?

    It's not a new concept. It existed on SQL 2000 as well. Probably 7 too, though I don't have any docs.

    http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/sqlbackuprest.mspx

    Significant quotes:

    Tail of transaction log

    The transactions that have been committed...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How can I join derived table

    Lynn Pettis (11/25/2008)


    (P.S. Glad to have you back on the site. Hope you enjoyed your time here in Seattle!)

    Loved every minute of it. I just got back to SA...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: problem with function

    Looks OK. I can't see a logic problem.

    The count is not necessary and it's expensive, doubly so since you're doing a count of the column, not count(*)

    Try changing the count...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Poor performing SP

    Can you please fix the wrapping?

    What's the proc supposed to do?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Anyone have a script to capture a block?

    You can query the sys.dm_exec_requests for requests with a blocked_by that's not 0 and a wait_time exceeding your threshold.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Are the posted questions getting worse?

    Can someone give me a hand with this one? The earliest I'm going to have a change to sit down and work out some code is tomorrow afternoon when I...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Importing unformatted data

    It's doable. However, unless you can actually give us an example of the data (not a description, not the file extention) then it's not going to be possible to offer...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: DBCC SHRINK FILE with NOTRUNCATE , how to see the results?

    llokshin (11/23/2008)


    HI, Gail, maybe I didn't make myself clear. I wanted to delete from some tables about 16 GB of data. I do it in small transactions, not all at...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: How can I join derived table

    I didn't ask for the entire proc. I said, if you want us to do all of the work for you, give us table definitions (as create table statements), sample...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Grant Create User permission

    The login name is not a valid identifier. Put square brackets around it.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Help controlling transaction log growth needed

    Index rebuilds are logged operations and hence will cause tran log growth. There's nothing wrong.

    You can switch to bulk-logged for the duration of the rebuild to reduce the impact on...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Unable to enable transactional backups

    Try to run a backup from the query window - backup log...

    If it doesn't work, what is the error?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Undocumented Routines: Forbidden fruit.

    mfaisal (11/25/2008)


    Dear......

    i am found of SQL study. you help me what can i do it?

    Please post unrelated questions in a new thread.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Unable to enable transactional backups

    In simple recovery the logs auto-truncate on a regular basis and hence cannot be backed up. There's no point, it wouldn't be possible to use such backups to restore because...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Unable to Restore Database

    vkundar (11/23/2008)


    Just woundering am I dealing with a BUG ! while trying to restore a very large database (.sls extension) using litespeed restore command Xp_restore_database.

    I've backed up and...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 42,976 through 42,990 (of 49,552 total)