Forum Replies Created

Viewing 15 posts - 17,986 through 18,000 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Grant Fritchey (6/19/2012)


    GilaMonster (6/19/2012)


    Brandie Tarvin (6/19/2012)


    "Surface"? Really?

    What kind of marketing department names a tablet with such a mundane moniker?

    Surface was previously the name of their table computer (touch screen, about...

    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: Dublicate key

    It's not the way. It works, there are many other ways, including Ole's merge (2008 and above), if exists with elevated isolation level and locking hints, etc.

    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 previous row value for a column in version 2005 ?

    Not really. I certainly can't easily use that to test code

    Read this to see the best way to post this to get quick responses.

    http://www.sqlservercentral.com/articles/Best+Practices/61537/

    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: Dublicate key

    insert into sometable (col1,col2,CreationDate)

    SELECT @value1,@value2,getdate()

    WHERE NOT EXISTS (SELECT 1 FROM sometable WHERE col1 = @value1 AND col2 = @Value2)

    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 (6/19/2012)


    "Surface"? Really?

    What kind of marketing department names a tablet with such a mundane moniker?

    Surface was previously the name of their table computer (touch screen, about the size 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: DBCC SHRINKFile not working

    It'll break both.

    Please read through this - Managing Transaction Logs[/url], also maybe this http://www.sqlservercentral.com/articles/Transaction+Log/72488/

    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: Stored Procedure error

    How to do what?

    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 previous row value for a column in version 2005 ?

    The table definitions would help, plus sample data and a better description of what you're doing including what the 'required format' looks like.

    Without knowing what you have, what's 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: How to get previous row value for a column in version 2005 ?

    Unless you have a trigger or something that's storing the old values somewhere, you can't. SQL doesn't automatically keep historical values around.

    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: Stored Procedure error

    If the first select returns no rows then @Valor will be null at the IF statement. There is nothing in the select inside the IF that prevents nulls.

    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: Avoid locks

    GilaMonster (6/19/2012)


    Keep the transactions as short as possible, make sure the indexes support the modifications (deletes and updates) and consider one of the snapshot isolation levels if the locks 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: Transaction Log Full error 9002.

    Nope, sorry. You'll have to monitor and see if it happens again

    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: Avoid locks

    You can't. All data modifications lock.

    Keep the transactions as short as possible, make sure the indexes support the modifications (deletes and updates) and consider one of the snapshot isolation levels...

    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: Memory Issues --sql server 97%

    Nomal, expected behaviour. If SQL is using too much memory, reduce max server memory slightly. Maybe to 5.5GB.

    Chapter 4: http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-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: Row_Number () function doubt

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic1317787-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

Viewing 15 posts - 17,986 through 18,000 (of 49,552 total)