And this can be done outside of the regular GUI Tools using osql.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's