You are a database administer for a multi-national...

  • Comments posted to this topic are about the item You are a database administer for a multi-national...

  • The best way could be send the date in ANSI format: yyyy-mm-dd

  • very godd question..

    looking for the solution of this from a long time

    _______________________________________________________________
    To get quick answer follow this link:
    http://www.sqlservercentral.com/articles/Best+Practices/61537/

  • SET Language doesn't solve the problem. Currencies are probably different too, and that is going to have to be deal with. Of the options offered, a staging table will definitely work whereas setting language might work if you are lucky and date format is the only issue.

    Tom

  • Ric Sierra (4/24/2008)


    The best way could be send the date in ANSI format: yyyy-mm-dd

    I agree except it should be YYYYMMDD. The dashes aren't actually part of ISO or ANSI.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • L' Eomot Inversé (2/17/2013)


    SET Language doesn't solve the problem. Currencies are probably different too, and that is going to have to be deal with. Of the options offered, a staging table will definitely work whereas setting language might work if you are lucky and date format is the only issue.

    I agree. For the given problem, even just setting the date format would work. Even though the two languages are very similar, there are going to be other things to consider. This is why I don't go for certification... since I would actually consider the best answer to load a staging table and massage the data, I had to make a choice between what I thought the author of the question was looking for and what the actual correct answer is.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply