Forum Replies Created

Viewing 15 posts - 38,701 through 38,715 (of 49,552 total)

  • RE: SQL 2008 backup to SQL 2000

    Simon_L (6/3/2009)


    p.s is that the babylon rangers motto I see ?

    Yup.

    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: Restoring Database

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic728028-357-1.aspx

    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: maintenance plan - dbcc shrinkfile

    rvz (6/3/2009)


    I kinda had to learn SQL Server completely from scratch in a very short time so that explains why I'm having problems I guess. I really wish I had...

    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: maintenance plan - dbcc shrinkfile

    Eswin (6/3/2009)


    SQL Server doesn't immediately shrink log files when you issue the DBCC Shrinkfile command.

    Yes it does. When you issue a SHRINKFILE, the file in question is shrunk. How...

    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: Should every table have a clustered index.

    In my opinion, yes. Every table should have a clustered index. There are a few disadvantages to having heaps. That said, a badly chosen clustered index is worse than no...

    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: SQL 2008 backup to SQL 2000

    Simon_L (6/3/2009)


    Im busy debating this... my opinion is that even if a database is left in 2000 compatibility mode (when its resotered to sql 2008 ) that a backup of...

    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: see this is my view , i want to apply the non clustered index, why because i cant apply the clustered index because there is an aggrigate functions , so i want to minimize this by applying the non clustered index on tables columns , please check the below view and revert back

    sateesh.kamalakar (6/3/2009)


    After ur idea i apply the 2-part name , since i am geting some errors, can u please check for this particular code...

    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: Error .........While Restoring MASTER database

    bhuvnesh.dogra (6/3/2009)


    But how would you go for JOBs migrations ?????

    Method 1:

    Script the jobs out, run the script on the new server

    Method 2:

    Use the SSIS Transfer Jobs task.

    Either way, jobs...

    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 accurate are Index Usage Stats

    I would still do some analysis before dropping them, ie review stored procs and views and make none of them would need that index.

    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: maintenance plan - dbcc shrinkfile

    Eswin (6/3/2009)


    always issue checkpoint before executing dbcc shrinkfile ().

    Why?

    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: maintenance plan - dbcc shrinkfile

    Why do you want to shrink? Databases tend to grow as more data gets put in them. It's in their nature.

    If you shrink the log is is going to have...

    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: Large log file.

    The open tran indicates that this was once replicated (publisher) or was restored from a backup of a published database. Either way, there's left-over replication that's preventing the log from...

    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: Resource db in 2008

    It's stored in a different place in SQL 2008 and it's treated almost as if it was a dll.

    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: Writing Dynamic Stored Procedure

    TheSQLGuru (6/2/2009)


    alter PROCEDURE Test4 ( @ProdID int = null, @Qty int = null)

    AS

    select TransactionID

    from [Production].[TransactionHistory] -- with (index = [IX_TransactionHistory_ProductID])

    where ProductID BETWEEN coalesce(@ProdID, 0) AND coalesce(@ProdID, 99999999) --should use actual...

    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: Writing Dynamic Stored Procedure

    Dave Ballantyne (6/3/2009)


    Jeffrey ,

    Can you post a full XML query plan of one of your queries that Seek ?.

    If you could try to make the query as simple as...

    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 - 38,701 through 38,715 (of 49,552 total)