• Hey Max,

    While reading your article i checked the script in sql server 2005,

    it was giving me the error.

    (1 row(s) affected)

    (1 row(s) affected)

    (1 row(s) affected)

    (1 row(s) affected)

    (1 row(s) affected)

    (1 row(s) affected)

    (1 row(s) affected)

    (7 row(s) affected)

    Msg 111, Level 15, State 1, Procedure #uspGetFileStats, Line 9

    'CREATE/ALTER PROCEDURE' must be the first statement in a query batch.

    Msg 213, Level 16, State 7, Line 1

    Insert Error: Column name or number of supplied values does not match table definition.

    do you have any change in the script?

    Saurabh