Forum Replies Created

Viewing 15 posts - 61 through 75 (of 204 total)

  • RE: Are we in all these cities?

    IMHO, this question does not really illustrate "the point that a subquery cannot be terminated with a semicolon". Semicolons terminate the statements and since the subquery is not the whole...

  • RE: Split string using Tally Table

    Jeff,

    Thank you very much for your suggestions. You make a very good point about the iTVF, it is definitely more useful than the proc. In my defense about the tally,...

  • RE: Convert CSV values in three columns to rows

    Jeff,

    I would like to ask your opinion on the version of the split I recently wrote. It is implemented as a stored proc and does not have any limitation on...

  • RE: Split string using Tally Table

    Jeff Moden (7/2/2010)


    BWAA-HAA!!!! First, this is NOT a good example of Tally Table code. It doesn't use a Tally Table and it doesn't use anything that could be...

  • RE: More fun with ISNUMERIC()

    Toreador (7/6/2010)


    That doesn't explain why isnumeric('1 234') = 0, despite being in the standard format for any locale with a space as the thousands separator!

    What I mentioned in my post...

  • RE: More fun with ISNUMERIC()

    This is a very good question, thank you Ron. It really took some time to figure out correct answer. From your explanation:

    Odd that running ISNUMERIC() against a space (ASCII 32)...

  • RE: Disable All Triggers

    hrvoje.piasevoli (7/2/2010)


    If I need to quickly disable all triggers in the database then I use disable trigger syntax to take care of all tables and views and then append disable...

  • RE: Disable All Triggers

    hrvoje.piasevoli (7/1/2010)


    I agree with that completely, but it is not quite precise because triggers created on VIEW objects will remain enabled as the procedure loops only TABLE objects.

    This would...

  • RE: coalesce and nullif

    This is a very good question, thank you. Presence of nullif does not change anything though, so it is difficult to figure out why it is there. What I mean...

  • RE: Tables

    This is a good basic question, thank you.

    I also paused for a minute before answering trying to figure out what could be a possible reason for this table not to...

  • RE: SELECT INTO

    Trey Staker (6/14/2010)


    Thanks for the question. I messed up and thought I read rows instead of columns. It kind of reminds me of the childhood riddle about if...

  • RE: SELECT INTO

    This is a very good question, thank you Ron. I answered incorrectly because I read columns as rows, the number of rows should be 2, so I got my answer...

  • RE: How many Records Will Get Selected

    Hugo Kornelis (6/11/2010)


    Another problem I have is that this kind of questions call for psychic powers on our part. Others have already commented that it might have been a honest...

  • RE: Model DB

    Very good question, thank you Jason! I answered it correctly because I remembered there was a discussion some time in the past on this site about the read_only nuances of...

  • RE: Stored Procedure Execution

    Very good question, thank you Jason.

    Creating a proc with name beginning with sp_ is very evil indeed. While there is a way to invoke the AdventureWorks' version of the proc...

Viewing 15 posts - 61 through 75 (of 204 total)