Forum Replies Created

Viewing 15 posts - 44,941 through 44,955 (of 49,552 total)

  • RE: Interesting but Stupid Question

    bhuvnesh.dogra (8/19/2008)


    can anyone tell how " _" is being treated in LIKE keyword. ??

    A couple people already have.

    As I said, back in my reply to your first...

    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 SQL Trigger

    There aren't before triggers in SQL Server. Look up the Instead Of trigger in Books online for the other kind of trigger.

    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 Server to start in which account?

    Here's a link to the other thread.

    http://www.sqlservercentral.com/Forums/FindPost554864.aspx

    Ashwin: It's prefered if you don't create multiple postings on the same subject, as it tends to result in people spending time answering questions...

    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: Work table creation

    How are you viewing the number of work tables created? Perfmon?

    Work tables are created by the query processor in order to process certain query constructs (sorts, hashes, I think spools,...

    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: missing index DMVs

    Glad to hear you came right.

    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 error handing in sql 2000

    @@Error is what you're looking for.

    One thing to be careful of is that @@Error contains the status of the last statement. Every single statement within SQL (including things like...

    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 Server to start in which account?

    The account that's used to start SQL isn't the one that SQL runs under. If you go into the SQL Server configuration manager you can set the account that SQL...

    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: Slow running queries

    Great. Can you post the table's create statement, the index definitions and the query itself please?

    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: Slow running queries

    b_boy (8/19/2008)


    Not able to attached execution query plans, file type not permitted

    if you're using SQL 2005, right click the exec plan, choose save as. Save the file as a .sqlplan...

    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: Slow running queries

    Yes, and the index creation scripts would also be useful please.

    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 SQL Trigger

    gohsiauken (8/19/2008)


    I have anohter question about trigger, does SQL server has AFTER [Insert, Delete]? Examples as

    CREATE TRIGGER Product_tUpdateAfter800

    on dbo.Product AFTER update

    CREATE TRIGGER Product_tInsertAfter800

    on dbo.Product AFTER Insert

    CREATE TRIGGER Product_tIDeleteAfter800

    on dbo.Product AFTER...

    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 SHRINKDATABASE/SHRINKFILE

    Shrink won't damage the database.

    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: Urgent

    insert into Table1 (ConcatenatedColumn)

    Select Col1 + ' ' + col2 + ' ' + col3 From SomeOtherTable

    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: Auditing SQL Server 2005

    Are you looking for a report of how it looks now, or are you looking to capture 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: DBCC SHRINKDATABASE/SHRINKFILE

    But I need know how its work..Is it reducing the Log File Size

    It reduces the size of the log file by releasing unused space within the file back to 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

Viewing 15 posts - 44,941 through 44,955 (of 49,552 total)