Forum Replies Created

Viewing 15 posts - 1,741 through 1,755 (of 2,458 total)

  • RE: SQL 2012 Query not efficient

    TheSQLGuru (3/4/2015)


    Nevyn (3/4/2015)


    For starters:

    SELECT PERSID,

    CASE MAX(CASE DUESTATUS

    WHEN 'Overdue' THEN 2

    WHEN 'DUE' THEN 1

    ELSE 0

    END)

    WHEN 2 THEN 'Overdue'

    WHEN 1 THEN 'Due'

    ELSE 'Unknown'

    END DUESTATUS,

    CASE MAX(CASE...

  • RE: Why are cursors "more intuitive"

    I personally hate cursors because the syntax is bloated, counter-intuitive and just plain ridiculous. I have been writing SQL for 15+ years and still need to reference Books online or...

  • RE: Cascading drop-downs

    DerbyNeal (2/25/2015)


    You would handle this in the default value for each child parameter. Make the default value the same as the available values

    Hi Alan,

    Thank you for your reply, I appreciate...

  • RE: Where do senior SQL DBAs land finally?

    Sean Lange (1/30/2015)


    Jeff Moden (1/30/2015)


    Sean Lange (1/30/2015)


    Jeff Moden (1/29/2015)


    Sean Lange (1/29/2015)


    Alan.B (1/29/2015)


    I am certainly not anywhere at the same DBA skill level as say Jeff, Gail or Sean...

    Gosh I am...

  • RE: Where do senior SQL DBAs land finally?

    Jeff Moden (1/29/2015)


    Sean Lange (1/29/2015)


    Alan.B (1/29/2015)


    I am certainly not anywhere at the same DBA skill level as say Jeff, Gail or Sean...

    Gosh I am humbled to be grouped with those...

  • RE: Where do senior SQL DBAs land finally?

    Sean Lange (1/29/2015)


    Alan.B (1/29/2015)


    I am certainly not anywhere at the same DBA skill level as say Jeff, Gail or Sean...

    Gosh I am humbled to be grouped with those two in...

  • RE: Cascading drop-downs

    I have created a report that contains a cascading drop-down. My problem is, when selections are changed/updated

    on the parent (Customer Stopped Status) drop-down I need all of the resulting...

  • RE: Recursive Query

    Do you have any DDL? Sample data? Example of the desired output?

  • RE: WHERE 1 = 1,who uses this besides me

    ChrisM@Work (2/24/2015)


    SQLRNNR (2/24/2015)


    ChrisM@Work (2/24/2015)


    Dogma spawns bad code as efficiently as laziness and ignorance.

    Nice. Great quote. I'm gonna use it now.:-D

    That’s Plan B. Plan A was one of those...

  • RE: Dynamically Query a 100 Million Row Table-Efficiently

    PHYData DBA (2/24/2015)


    To start with. I did not carefully read the entire article.

    I stopped at the 5th time I saw "Select *" used in the code for an article about...

  • RE: set a local variable

    What Steve said (I just saw his response as I was about to reply)...

    This is a good article SSC on the apostrophe topic... http://www.sqlservercentral.com/articles/T-SQL/95670/

  • RE: Dynamically Query a 100 Million Row Table-Efficiently

    Absolutely Brilliant article Gary, 5 stars! I really enjoyed the discussion about TVFs. Very good work sir!

  • RE: Centralized SSRS instance using multiple data sources

    Ditto what Gazareth said...

    Do many shops use this design?

    My experience has been - yes.

  • RE: I wanna be a DBA! What should I do?

    SQL Server Central is a goldmine. Read the stairways (which has already been mentioned), the blogs and the free redgate press books (especially the "Accidental DBA book".)

    I would suggest...

  • RE: query problem

    Anything that is not in the form of: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where x is a hexadecimal value (e.g. 0-9 A-F) is going to fail... are c.evs_OrderIDid and b.ORdernumber formatted like that?

    why...

Viewing 15 posts - 1,741 through 1,755 (of 2,458 total)