I have a database with thousands of stored procedures, functions, tables, and views and I'd like to dump all of the code out to individual files. I know you can reverse engineer the code within Enterprise Manager and Query Analyzer but it seems you can only do it one object at a time. Is there any code or utility out there that will allow me to dump all of the function/procedure/table/view definitions out to a file on the file system? By the way, I'm using SQL Server 2000.