• sdhanpaul (10/22/2012)


    I read that article about 100 times.

    I read about 100 articles comparing different types of running sum...of which:

    clr is the best way to do it but i cant get pass cursor so how am i going to do clr?

    nested subqueries are too slow...and way too slow too, i have this in ms access

    update query thing...i tried but for some reason I dont seem to get it....

    requested data:

    table: RawTrx

    Columns:

    RawTrxIdintUnchecked

    EmpNamechar(50)Checked

    EmpPinnumeric(18, 0)Checked

    trxDatedatetimeChecked

    trxTimedatetimeChecked

    forkeychar(50)Checked

    fordeletebitChecked

    forcountnumeric(1, 0)Checked

    checked is allow null...

    rawtrxid is primary key auto number.

    I tried putting a where clause but gets a syntax error each time and every place i put it.

    You are doing this in ACCESS???? I wouldn't begin to know how to do this in access.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/