Forum Replies Created

Viewing 15 posts - 40,741 through 40,755 (of 49,552 total)

  • RE: Problem with restore .bak file

    robert.larsson (2/26/2009)


    Just as i expected but my boss wouldnt take that as an answer =) "keep finding a way to verify if the backup is corrupted or not".

    That's what RESTORE...

    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: Need a script to audit the DDL & DML events for SQL server 2000

    sqlserverdba.dba (2/26/2009)


    Are you refering to Perfmon?

    No. Perfmon is a windows tool. I'm referring to SQL Profiler and the stored procs that it uses.

    If not then please provide me 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: Indexs - Misunderstanding or abnormality?

    Fraggle (2/26/2009)


    However, this is not the case. I do get an index seek with INDEX1.

    What you're getting is a seek on column1 followed by a filter 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: Indexs - Misunderstanding or abnormality?

    Fraggle (2/26/2009)


    So if I searched by column, 1, 2, 3, & 4, I could essentially create 4 indexes as follows and I should get seeks on all of them?

    Yes, for...

    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 Certification

    All the info you need is here. http://www.microsoft.com/learning/mcp/certifications.mspx

    The self-paced training kits are quite good.

    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: If exist in Constraint Drop

    ray.gabriel (2/25/2009)


    EXECUTE IMMEDIATE

    That doesn't look like T-SQL.

    If it is T-SQL, checks are done like this

    IF EXISTS (SELECT 1 from sys.objects where name = 'CUSTOMER_RICH_CONTACTS_RO1')

    ALTER TABLE MCCOYS.CUSTOMER_RICH_CONTACTS DROP...

    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: Defragmenting indices on tables with a small number of pages

    1000 page is the usual rule-of-thumb. Smaller than that and the table will probably be in memory. Fragmentation is a disk issue, it doesn't affect pages in memory.

    The other thing...

    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: Index Question -Why the optimizer use ..

    prinztelly (2/25/2009)


    1) If i add all columns of MainTable to the arzt_key-index on Maintable (as included column) , the speed is better, but of course the index need more...

    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: Need a script to audit the DDL & DML events for SQL server 2000

    This is a forum, not a chat room. Be patient.

    On SQL 2000, the only way to get all DDL and DML statements is to use a trace. Not profiler, too...

    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: DDL Trigger for SQL SERVER 2000

    DDL triggers were introduced in 2005. There's no equivalent feature in SQL 2000

    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 when creating column in existing table using SMO

    Please don't cross post. It just wastes peoples time and fragments replies.

    No replies to this thread please. Direct replies to: http://www.sqlservercentral.com/Forums/Topic664825-391-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: optimization help

    Lynn Pettis (2/25/2009)


    Someone want to explain what the statistics profile is saying?

    Will look in the morning, providing Grant doesn't get it first.

    Is 11pm, and I'm dead tired.

    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 found errors, how to fix?

    This doesn't look good. Do you have any idea when it started? Do you have a clean backup of this database?

    How important is the data in this database? Will losing...

    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 make a Real Time Table Monitor???

    Couple steps back...

    What kind of process do you need to run when a row is inserted?

    What's going to be running those processes?

    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 make a Real Time Table Monitor???

    jblanco (2/25/2009)


    The thing is that I am writing an application that whenever a record is inserted ona specific table I have to perform some other tasks, but I still...

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