• Hi Phill,

    thanks for your contribution.

    I thought that Enterprise Manager or Query Analyzer always put column names in brackets (on both left and right sides). Your code example does not have brackets. How do you generate this code?

    I am willing to improve my procedure. Could you please give me an example on your second comment. I may write one more procedure for this.

    Do you create system procedures or functions from user written procedures you like?

    Thanks

    Regards

    Yakov