Forum Replies Created

Viewing 15 posts - 1,051 through 1,065 (of 3,544 total)

  • RE: Are the posted questions getting worse?

    Steve Jones - SSC Editor (7/8/2011)


    TGIF

    Actually not so much. Leaving for the UK on Sunday, will be out of touch for most of the next week. Behave.

    All being well, will...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL Grouping Data

    ringovski (7/7/2011)


    But a single invoice can many purchase orders, so the line_id can be 1 to any number. When there is more than one purchase order I don't the invoice_head...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    GSquared (7/7/2011)


    Yeah, the indexing on The Thread is definitely broken. It's all "bookmark lookups" and "out of date stats" and the fragmentation on the "subject under discussion" and "responses...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL Grouping Data

    1. where in the code do I put the alias i need for the column names, eg. issue date as Invoice Date.

    Just add the alias to the end of the...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Can we take it to another level, please?

    GilaMonster (7/5/2011)


    ... but it seems that just about every single QotD discussion has someone picking holes in the question.

    Or repeated posts stating that the answer is wrong :rolleyes:

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: SQL Grouping Data

    At a guess...

    WITH cte (Invoice_id, IssueDate, Account, ApproveDate, RowId)

    AS (SELECT h.Invoice_id, h.IssueDate, l.Account, l.ApproveDate, ROW_NUMBER() OVER(PARTITION BY h.Invoice_id ORDER BY h.Invoice_id ASC)

    FROM Companies c

    JOIN Invoice_head h ON...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    Jeff Moden (7/5/2011)


    This turned into a "watercooler" thread a long time ago and anyone with a minor dose of manners and a sense of humor is invited.

    Damn! Counts me out...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: First Normal Form

    Tom.Thomson (6/30/2011)


    ...All of IMS, IDS, IDMS used the term "primary key" long before 1970...

    Wow! Tom, that takes me back :Wow:

    IDMS was the first database I worked with :w00t:

    Nice article by...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: date DD:MM:YYYY ?

    This will NOT work :

    USE MYDATABASE

    INSERT INTO MY_TABLE (TYPE,START_DATE,END_DATE,RATE)

    VALUES

    ('DBLMS','01.03.2011','16.04.2011','104');

    Default date format for conversion is dependant language setting for the login.

    e.g.

    British English accepts DD.MM.YYYY and YYYY.DD.MM

    English accepts MM.DD.YYYY and YYYY.MM.DD

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: How to Left Justify Results

    How are you getting the results into notepad ?

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    george sibbald (6/17/2011)


    quick straw poll if you don't mind guys -

    how much access should developers have in a development environment?

    None, they will only break it 😛

    (only joking right ;-))

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: GO

    What a load of whingers :Wow:

    How come you did not whinge about no mention of using SSMS and at least 2005 to even get close to one of the answers...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Are the posted questions getting worse?

    SQLRNNR (6/2/2011)


    GSquared (6/2/2011)


    opc.three (6/2/2011)


    LutzM (6/2/2011)


    To quote from a thread I've been involved:

    Also, I will start to participate on the site more often. It has always been useful and seems to...

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: Maximum number of rows for an insert?

    Ninja's_RGR'us (5/27/2011)


    So in relation to your wife, what's the difference between union and union all? plz keep it PG! ;-):-P

    The level of commitment 😉

    Far away is close at hand in the images of elsewhere.
    Anon.

  • RE: How to get the id's of those who have a specific price for every date ....

    tzanouch (5/27/2011)


    I want to get the id's of everyone who has a specific value for every date.

    Is that every date in the table or every date for each ID ?

    eg....

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 15 posts - 1,051 through 1,065 (of 3,544 total)