Forum Replies Created

Viewing 15 posts - 4,321 through 4,335 (of 26,490 total)

  • RE: Are the posted questions getting worse?

    Sorry, got snippy with an OP.

    50 lashes with a noodle please.

  • RE: How to get date after specific number of days

    sqlinterset (11/16/2015)


    sorry for confusion. 4/14 mean either 4 months or 14 months.

    dateadd(month,4,@CurrentDate);

    dateadd(month,14,@CurrentDate);

    A quick look in Books Online would have answered this question a lot faster than posting it on the...

  • RE: Are the posted questions getting worse?

    BrainDonor (11/16/2015)


    djj (11/16/2015)


    I will be the first to admit I am not the smartest person, but at least I try to ask questions by providing requested information with my try...

  • RE: Are the posted questions getting worse?

    Jeff Moden (11/13/2015)


    jasona.work (11/13/2015)


    Whhoooo!!!

    *I* nearly got singed by this reply: http://www.sqlservercentral.com/Forums/FindPost1736339.aspx

    Not that I blame Jeff, he's probably had the "joy" of interviewing people like the OP...

    I'm curious... How did you...

  • RE: 4 Queries Required Very Urgent

    Jeff Moden (11/13/2015)


    Alright, nexus2vijay... Putting the teaching hat back on, let's work on the first problem...

    Here's the problem as you listed it in the original post on this thread...

    1. List...

  • RE: Are the posted questions getting worse?

    Sean Lange (11/13/2015)


    TomThomson (11/13/2015)


    Jack Corbett (11/12/2015)


    Sean Lange (11/12/2015)


    Brandie Tarvin (11/12/2015)


    Sean Lange (11/12/2015)


    djj (11/12/2015)


    Grant Fritchey (11/12/2015)


    Still, could be fun. Build out a nested CTE inside a function, use the...

  • RE: 4 Queries Required Very Urgent

    nexus2vijay (11/12/2015)


    Hi,

    It's a test actually.

    Nope infact i don't have setup to test the same. I have just given the logical approach.

    Appreciate if you could help me with that sir.

    Vijay

    Is this...

  • RE: 101 help with CASE inside of CURSOR statement

    Lacking expected results:

    CREATE TABLE #shipping_data(

    tracking_no VARCHAR(8000) NOT NULL

    ,order_no VARCHAR(8000) NOT NULL

    );

    INSERT INTO #shipping_data(tracking_no,order_no) VALUES ('1Z0310590353768186','1245807,1245812,1245803');

    INSERT INTO #shipping_data(tracking_no,order_no) VALUES ('1Z0310590352682798','1256835,1359465');

    INSERT INTO #shipping_data(tracking_no,order_no)...

  • RE: 101 help with CASE inside of CURSOR statement

    One other thing, based on the sample data you provided, what is the expected results?

  • RE: 101 help with CASE inside of CURSOR statement

    celticpiping (11/12/2015)


    understood: I should have known to post table data.

    I'll attempt to provide table data below.

    Source table, and associated insert code:

    ...

    CREATE TABLE #shipping_data(

    tracking_no NVARCHAR(MAX) NOT NULL

    ...

  • RE: 101 help with CASE inside of CURSOR statement

    celticpiping (11/11/2015)


    Howdy again Lynn, things crashed around here so been ..bisy

    Say, not sure if I've used up my newb-requests for this month, but

    concerning the query we've put together, I was...

  • RE: Split a case statement

    After reformatting your code, the subquery in the CASE is independent of the outer query. To demonstrate that, I renamed the aliases used in the subquery based on how...

  • RE: Can you replace stored procedures with sp_executesql

    jigging.tech (11/6/2015)


    Thank you all for the replies.

    The applications connect to a middle man home grown application that then sends the T-sql queries to production... so 85% of the queries all...

  • RE: Are the posted questions getting worse?

    Sean Lange (11/6/2015)


    Lynn Pettis (11/6/2015)


    Here is a posting for a SQL Database Administrator. I've looked it over several times. Please tell me where it says anything about PostgreSQL...

  • RE: Are the posted questions getting worse?

    Here is a posting for a SQL Database Administrator. I've looked it over several times. Please tell me where it says anything about PostgreSQL besides in the Skill,...

Viewing 15 posts - 4,321 through 4,335 (of 26,490 total)