Hi everyone I have this vb6 code: strSql = "select * into [text; FMT=Delimited; HDR=Yes; Database=c: emp].[TC.txt] from Employees" con.Execute strSql if my con connects to access database, this bulk of code run ok. If my con connects to Sql server 2000 database, this bulk of code returns error. Can anyone shows me how to do in Sql server 2000 to get the same result as when running this code with access database ?. Thanks.