Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
vipinM
Starting Member
9 Posts |
Posted - 2007-05-19 : 01:18:54
|
I want to export data from sql server to ms access using BCP utility. The data will be extracted using a query involving more than 1 tables.Can you please help me out. I am executing the following command from command promptbcp DBName.dbo.ZONE_MASTER_TEMP in C:\db1.mdb -c -t , -r \n -Ssql -Usa -Psaand i m also trying followingbcp DBName.dbo.ZONE_MASTER_TEMP in C:\db1.mdb -Ssql -Usa -PsaIt creates db1.mdb but when trying to open the mdb file it gives error saying "Unrecognized database format 'C:\db1.mdb' "Thanks & Regardsvipin |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-05-19 : 20:36:10
|
Better to use tds. |
 |
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2007-05-20 : 12:20:38
|
You will not be able to use BCP for that.You should look into using DTS for this. The Data Transformation Service Inport/Export Wizard (DTSWIZ.EXE) will walk you through the steps.CODO ERGO SUM |
 |
|
|
|
|