SQL to Excel
Hello All,
I have tried to execute the following
"SELECT * INTO [Excel 5.0;Database=C:\ExcelFiles.xls].[Sheet1] FROM dbo.EmployeeTerritories "(NorthWind database) in SQL Query Analyser
as well as using DTS ActiveX Script, both are giving the following error message "Specified owner name 'Excel 5.0;Database=C:\ExcelFiles.xls' either does not exist or you do not have permission to use it."
the "C:\ExcelFiles.xls" does exist on the server
any ideas why this is happening, please help
regards
Sasidhar
thanks,
Sasidhar
__________________
thanks,
Sasidhar
|