• DAB

    i've just tried to implement this on an SQL2000 database, but I getting an error on both functions:

    Msg 170, Level 15, State 1, Procedure formati, Line 2

    Line 2: Incorrect syntax near 'max'.

    Msg 178, Level 15, State 1, Procedure formati, Line 6

    A RETURN statement with a return value cannot be used in this context.

    Msg 170, Level 15, State 1, Procedure formatd, Line 3

    Line 3: Incorrect syntax near 'max'.

    Msg 178, Level 15, State 1, Procedure formatd, Line 7

    A RETURN statement with a return value cannot be used in this context.

    any ideas?

    _____________________________________________________________________________MCITP: Business Intelligence Developer (2005)