quote:You can use xp_cmdshell to run isql with the script. Don't really see why you would need that though, are you sure that is the right way of doing what you need?--Chris Hedgate @ Apptus Technologies (http://www.apptus.se)http://www.sql.nu