• abhas (4/12/2013)


    Hi All,

    Please help me on below scenario.

    I am having application where user selects startdate and enddate from his application(front end). but if he selects Startdate is 2013/01/01 and EndDate as 2013/01/31. Then ihave to insert in the database as effetivedate which is calculated column based on startdate and enddate and will display all dates inbetween selected date. so in the above case,i want to insert effectiveDate as

    2013/01/01

    2013/01/02

    .

    .

    .

    .2013/01/31

    please help.

    Already answered here. Abhas, if you are unsure about any aspect of a solution offered to you, don't be afraid of asking for more information. Folks here will help you.

    “Write the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden