Forum Replies Created

Viewing 15 posts - 106 through 120 (of 621 total)

  • RE: Order by a column keeping the families together

    CELKO (9/6/2012)


    Why did you fail to follow minimal Netiquette if you know the basics?

    Does anyone else see the irony in this?

  • RE: Help Required

    CELKO (9/6/2012)


    And you need a number that is greater than the number of electrons in the universe!

    That's a fairly unprovable assertion in my opinion, as the known substance of...

  • RE: Help Required

    a4apple (9/6/2012)


    Hi, I have edited the post, can you please see now and suggest me a solution?

    Not quite there yet. Your values list includes 6 values into table jd,...

  • RE: SQL help

    Using Vinu's sample data, this might get you pointed in the right direction. Some caveats here though. If there are two instances of event 117 following an event...

  • RE: Help Required

    Sean Lange (9/6/2012)


    [I can't begin to understand how you get your output based on the data in these tables. It seems you need provide a LOT more detailed information about...

  • RE: Help Required

    a4apple (9/5/2012)


    I am looking for a sql code that will actually tell me, if I have my status changed the data gets updated if I run it.

    I'm not sure what...

  • RE: Help Required

    Maybe something like this...

    CREATE TABLE dbo.YourNewTable

    (

    lssID INT IDENTITY(1,1),

    [subject] VARCHAR(50),

    [desc] VARCHAR(50),

    Accepted_date DATE,

    Assigned_date DATE

    )

    But seriously, what is the reason for this? If you turn 3 tables...

  • RE: Importing only rows with column data in specific columns.

    Dan, I think Lynn's solution is probably better, but just for academic purposes, you could try something like this...

    IF OBJECT_ID('tempdb..#test','u') IS NOT NULL

    DROP TABLE #test;

    SELECT

    'Dan' AS [name],

    '123 Main' AS addy,

    '555-5555'...

  • RE: ORDER BY PROBLEM

    UmaShankar Patel (9/1/2012)


    You need to select query as

    select * from @NumberTable

    order by Convert(numeric,REPLACE(REPLACE(ItemNumber,'ABC-',''),'-xyz','')) asc

    The problem I see with this is that 'ABC' may not always be 'ABC', and 'XYZ' may...

  • RE: Ranking Based on dates

    Lynn Pettis (8/29/2012)


    Looks like Greg beat me this time.

    ...And I consider that a great honor Lynn 🙂

  • RE: Ranking Based on dates

    Crazy Nash, I'm no performance expert by any means, nor an index pro, and as you don't give any information with respect to your indexes, there are no guarantees with...

  • RE: does not work with outer join or outer apply

    CELKO (8/27/2012)


    We do not care

    Now let's not be too hasty. Some of us do care. In fact, I'd hazard a guess that if the total number of users...

  • RE: does not work with outer join or outer apply

    Luis Cazares (8/28/2012)


    PS. I can't stop laughing at all the nonesense from the previous poster.

    I mean really. What's wrong with some good ole' constructive feedback, like Sean gave?

  • RE: Landing The First SQL Job....

    Ayeager78, it was not too many years ago I was in a manhole all day splicing phone cable for Ma Bell. While I did not change companys at first,...

  • RE: Figuring out NSF payments

    SQL Kiwi (6/1/2012)


    Updated recursive solution:

    Thank you so much Paul. I get everything down to the recursive bit. It's going to take me some time to digest the rest....

Viewing 15 posts - 106 through 120 (of 621 total)