Forum Replies Created

Viewing 15 posts - 57,436 through 57,450 (of 59,049 total)

  • RE: Self Eliminated Parameters

    I ran your code against the Northwind database (assume that's where you were running it, as well)... Just to be sure, this is your code, isn't it (I added the...

  • RE: Self Eliminated Parameters

    City Index?  Neither the code you posted or my code would even come near a "city" index if the Primary Key was the CustomerID column.

  • RE: Trigger issue

    The thing I'd like to add to Steve's good comments is that you should not use SELECT * It's, well... a bit lazy... and...

  • RE: SELECT * or Column Names

    Actually, you can get ALL the column names at once with the commas at the end with the added benefit of carriage returns in just the right places... run this...

  • RE: Problems with CASE statement

    There's that "ISNUMERIC" thing again... see a couple of frames up for the warning

  • RE: Self Eliminated Parameters

    Alex,

    Nice article especially for the proverbial "newbie".  I do agree that the examples were a bit overdone but how are ya going to learn if you don't try?

  • RE: Self Eliminated Parameters

    I've found that that is NOT true... not with INT ID's anyway... In my testing of the various solutions posted against this article, I get INDEX SCAN's, not table scans using WHERE (CustID...

  • RE: What makes it faster?

    Sorry... it's a "Moden-ism" pronounced "ree-bar" and stands for "Row By Agonizing Row"    Why "ree-bar"?  Because it's like the metal stakes stuck in...

  • RE: Day of Week Function

    Thanks for the feedback, Steve.

  • RE: Split a field into multiple records

    p.s. You would be amazed at just how useful that Tally table is gonna be...  and, a lot of the time, it will greatly enhance the performance of your code......

  • RE: Split a field into multiple records

    Aye... and thank you for the feedback, Perry.

  • RE: What makes it faster?

    p.s.  The above was from your original query... it does not include the change due to the "blond-attack"

  • RE: What makes it faster?

    Ugh!  Correlated Sub-Queries = Instant RBAR.  Not good... real performance killer.  Should be a derived table.  WHERE IN... not good... should be an equi-join (inner join).

    Haven't tested it but I'm...

  • RE: How to debug stored procedure in Express version

    I don't use debuggers in SQL Server... just the ol' Mil Spec Mark I Mod I Eyeball.  Probably not what you wanted to hear, though...

    What are you trying to debug...

  • RE: Beware of Search Argument (SARG) Data Types

    I loved the examples... nice and simple.  Great job, DC.

Viewing 15 posts - 57,436 through 57,450 (of 59,049 total)