Forum Replies Created

Viewing 15 posts - 26,716 through 26,730 (of 49,552 total)

  • RE: Locking when being in isolation level snapshot read committed

    Ok, let me be clearer.

    Why are you disabling and re-enabling triggers?

    Do you realise that if some other update runs, from another session, during yours, the triggers wil be disabled 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: The Job Posting - Do I really have to be the SQL God?

    Grant Fritchey (4/14/2011)


    I'm looking at multiple books and articles and blog posts over the last eight years or so and I don't doubt for one second I've got horrific English...

    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: Restore SQL 2000 Database on SQL 2008 and consolidate 5 mdf files

    You cannot consolidate files during a restore. A restore will recreate the database exactly how it was at the time of the backup, file size and file numbers included. Once...

    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: Locking when being in isolation level snapshot read committed

    That's a schema stability lock. All queries in all isolations take schema stability locks so that the table cannot change in structure while they are working on it.

    What's causing 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: SUM and ROUND functions

    Since the cast gets you waht you want, apply the cast to the results of the sum.

    select cast (sum(annual_salary) as decimal (8,0)) as Total

    from dbo.Employees

    where Department_No='80'

    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?

    Brandie Tarvin (4/14/2011)


    It's a singular versus plural reference. "There's" = "there is" (singular) while "there are" is a plural reference.

    I haven't read the article in question, but as a proofreader,...

    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: tracking job deletion

    However, unless you had an audit running when the delete happened that won't help this time. It'll help for future occurrences.

    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 find the collation an index was built with

    ben.reese (4/14/2011)


    What happens to the index when the collation on the column is changed? Is it now potentially in the wrong order for the columns new collation and will this...

    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 Get Arbitrary 5 different rows from a table consisting of multiple rows?

    srikant maurya (4/14/2011)


    You can use RAND() function to get the result

    SELECT TOP 5

    columnname,

    ...

    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: Hints used in sql server

    None.

    There's no OPTION(Run SQL Fast)[/url] hint. If the query is not performing, you need to tune it, not try random hints that you don't understand.

    Using hints is like saying...

    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: The Job Posting - Do I really have to be the SQL God?

    fname lname-1111520 (4/14/2011)


    "then" and "there's"... I didn't find it incoherent. I claimed "it can't be coherent". If I were reviewing resumes, you go in the Engrish pile.

    Then...

    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?

    Craig Farrell (4/13/2011)


    WayneS (4/13/2011)


    CirquedeSQLeil (4/13/2011)


    Jack Corbett (4/13/2011)


    Craig Farrell (4/13/2011)


    Is it just me or does the constant resizing of the new ad 'Click here to monitor SSC' annoy the hell out...

    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: 70-443... a grinder!

    maheshsoft1987 75072 (4/13/2011)


    actually i have one general question..............

    Is it possible to restore a full backup on same database without overwrite?

    Best if you post in a new thread with an appropriate...

    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: 70-443... a grinder!

    maheshsoft1987 75072 (4/13/2011)


    But you should share this experience, so beginners can understand and prepare and trace on difficulties..

    So you're asking me to break the rules, get all of my certifications...

    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: 70-443... a grinder!

    Everyone who writes the exam accepts an NDA (non-disclosure agreement) that prohibits them from discussing anything about the exam's contents.

    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 - 26,716 through 26,730 (of 49,552 total)