Forum Replies Created

Viewing 15 posts - 2,326 through 2,340 (of 2,452 total)

  • RE: Average Inventory (Stock) Age

    ????

    I'm kinda confused...

    The code I provided include the following line:

    ELSE ISNULL(@RunningBalance,Current_Stock) * PurchaseDaysAge

    Based on your sample code you didn't assign a inital value to @RunningBalance.

    So, in case of runbalance (or...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Average Inventory (Stock) Age

    gah (7/18/2010)


    LutzM (7/18/2010)


    Hi gah,

    GREAT JOB!!!!

    As far as I can see, this solution will work.

    I would make two changes:

    #1: you need to cover the scenario where your stock is less than...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Average Inventory (Stock) Age

    Jeff Moden (7/18/2010)


    gah (7/18/2010)


    also a sincere thanks to Jeff Modem for his article

    It's actually spelled "Moden" but I'll take the compliment. 🙂 Thanks, Graham.

    :blush: apologies Jeff...and the...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Average Inventory (Stock) Age

    LutzM (7/18/2010)


    Hi gah,

    GREAT JOB!!!!

    As far as I can see, this solution will work.

    I would make two changes:

    #1: you need to cover the scenario where your stock is less than the...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Average Inventory (Stock) Age

    Hi Lutz

    well having done some homework....I have a solution, but would appreciate any feedback on how to improve it.

    For new readers this is SQL 2000 and the necessary code is...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Are the posted questions getting worse?

    Door Hinge.....;-)

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Average Inventory (Stock) Age

    Hi Lutz

    Thanks for the link....several useful ideas for me to consider.

    As always, the devil is in the detail, and I am sure you will appreciate that the example I gave...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Populating a Calendar table?

    In order to accommodate all the different reporting requirements based on a single date...I tend to build a calendar table in Excel...using the date functions/calc cols and fill down abilities.

    very...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: A Good Word for ODBC

    rf44 (9/10/2009)


    This is one of the most arrogant, presumptuous and unfounded assertion I ever read.

    Strong words indeed...would you care to elaborate....maybe some examples.

    ..

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: pass variables between SQL Server tasks in a JOB

    knight (9/4/2009)


    I'm trying to pass a variable between the tasks in a job.

    Is the variable a result from an earlier task in the job or something else..perhaps a...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: AWE option, basic concept confused

    Hi

    you may like to read some of the links pointed out in this recent thread

    http://www.sqlservercentral.com/Forums/FindPost783876.aspx

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Pass value from Exec Sql Taxk to OLE DB Source

    Hi the following link may help:

    http://sqlfool.com/2009/08/getting-started-with-variables-in-ssis/

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Need help for SQL query

    SELECT YourDate

    FROM YourTable

    WHERE (DATEPART(yyyy, YourDate) = @Enter_Year)

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: Budget Money to Spend

    just an idea...and no doubt already in place, buts how's your Disaster Recovery model looking?

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

  • RE: SSIS data import reduced to a crawl

    John Rowan (9/2/2009)


    Are you using the Merant driver for Progress? If so, Merant is a third party vendor right? Contact them instead of Progress. By the way,...

    ________________________________________________________________
    you can lead a user to data....but you cannot make them think
    and remember....every day is a school day

Viewing 15 posts - 2,326 through 2,340 (of 2,452 total)