Forum Replies Created

Viewing 15 posts - 46 through 60 (of 515 total)

  • RE: Temp Tables revisited

    sharath.chalamgari (6/24/2013)


    http://support.microsoft.com/kb/295305

    I never thought about creating a temp table using if/else statements. Seems this is a good way. Thanks for sharing 🙂

    If that was not a temp table, we can...

  • RE: Date add with Different DataType

    Danny Ocean (6/20/2013)


    Thanks. Good to know something new.

    +1 🙂

  • RE: Lock Escalation Limit

    Rich Weissler (6/20/2013)


    My memory was that Lock Escalation from row or page level always jumps to table. I assume I'm simply misinterpreting the question, but figured I'd ask/point just...

  • RE: Lock Escalation Limit

    Got to learn something. I have never looked into Lock escalation mechanism in depth. Thanks Sourav:-)

  • RE: SQL CHOOSE

    Hugo Kornelis (6/19/2013)


    To the submitter of the question: Please don't be discouraged by my harsh tone. That's just how I tick (ask any book author who has had the bad...

  • RE: SQL CHOOSE

    Easy one for the day! Thanks Bill:-)

  • RE: Delete records without logging

    GilaMonster (6/17/2013)


    Lokesh Vij (6/17/2013)


    There is nothing called "No Logging" in SQL Server...there is something called "Minimal Logging". This can be achieved by using table locking hints.

    DELETE FROM TableName with...

  • RE: Delete records without logging

    There is nothing called "No Logging" in SQL Server...there is something called "Minimal Logging". This can be achieved by using table locking hints.

    DELETE FROM TableName with (TABLOCK) WHERE id...

  • RE: Alias Usage

    Nice, easy and back-to-basics question; perfect for Monday mornings 🙂

    Thanks Ismail!

  • RE: Indexing

    Stuart Davies (6/14/2013)


    I wonder what version of SQL this was tested against - running it against my Test box (2008 R2) all goes well until INSERT INTO [dbo].[IndexTable]

    VALUES(3, 'Value3')...

  • RE: Indexing

    My eyes winked when I looked at this code

    DROP TABLE [dbo].[IndexTable]

    SELECT * FROM indextable

    Qotd aks about "the output of select statement", but as per the code this will give "error"...

  • RE: SHOWPLAN_XML

    kapil_kk (6/12/2013)


    Good back to back questions from Maleshwar 🙂

    Thanks 🙂

    +1

  • RE: BETWEEN a hard place and a rock

    Interesting question.....completely missed and gone off-track, feeling like "pressed between the hard place and rock" 🙂

  • RE: Data types in tables

    Koen Verbeeck (6/11/2013)


    Richard Warr (6/11/2013)


    Louis Hillebrand (6/11/2013)


    The final select returns '10' and '2012-10-10'

    Louis.

    I get that too. Perhaps it's because I'm in the UK.

    I also get that. Hugo, what is your...

  • RE: Data types in tables

    Thanks Mr. Reddy!

    Interesting question... I was able to solve this as I have worked such issues in the recent past.

Viewing 15 posts - 46 through 60 (of 515 total)