Forum Replies Created

Viewing 15 posts - 40,831 through 40,845 (of 49,552 total)

  • RE: Alter Database DBNAME Set Recovery Full. Gives error.

    swmsan (2/22/2009)


    Alter Database DBNAME Set Recovery Full.

    I get error 'Incorrect syntax near FULL.

    The syntax is correct. Is that all that was in the query window?

    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 to prevent inconsistency /Duplication with no locks in SQL Queries

    Enable traceflag 1222. It causes the deadlock monitor to write a deadlock graph into the error log whenever a deadlock occurs. The graph will show both processes involved in the...

    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: Control Flow Stops

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic662376-148-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: Query Structure - Multiple tables

    Are you trying to add the 1 - 12 columns for each row, or are you trying to aggregate multiple rows together?

    The latter is what SUM is for. If...

    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: Which Data Type to use

    David.Poole (2/22/2009)


    9 = Not applicable

    ?????

    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: Do You Verify Your Database Backups?

    David.Poole (2/22/2009)


    To be honest I am shocked to hear that people don't verify their backups.

    I'm also surprised that it isn't the default action for a backup and requires a DBA...

    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: Do You Verify Your Database Backups?

    What backups?

    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: Cant login to SQL Server 2005

    Please post new questions in a new thread.

    Thanks.

    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: Implicit conversion from data type sql_variant to varchar is not allowed. Use the CONVERT function to run this query.

    Yup, that should work.

    Just one thing. What happens if the parameter is not string, into or decimal? May I suggest you make that a switch statement that covers all the...

    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: MCDBA Certification

    Jaimin Patel (2/21/2009)


    I have been working as DBA for 3 years and I want to get MCDBA certificate.

    The MCDBA is an older cert. It was for SQL 2000 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
  • RE: Some Questions about Index Tuning

    peace2007 (2/22/2009)


    1. our server needs to be index tuned but it's too slow to run profiler.

    Use a server-side trace. Much lighter weight than profiler

    so I've queried DMVs a few...

    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: Question executing a Store Procedure

    Ok, that works, but...

    Do you really want a second open connection, all the fun of distributed transactions and the like just to avoid a temp table? Plus you'd have to...

    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: Question executing a Store Procedure

    You can't select from a stored procedure. What you'll have to do if you want to go this kind of route is to define temp tables that match the results...

    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: Replication Error sp_MSupd_tblxyz

    What DDL changes?

    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: Surrogate clustered index to guarantee "sequentiality"

    You will always have fragmentation, it's unavoidable. Small amounts (like in your example) is not a major concern. It's when inserts are all over the table (like Uniqueidentifier DEFAULT NewID()...

    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 - 40,831 through 40,845 (of 49,552 total)