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.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Problem, export data from sql server to mdb

Author  Topic 

vipinM
Starting Member

9 Posts

Posted - 2007-05-19 : 01:43:48
hi,

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 prompt

bcp DBName.dbo.ZONE_MASTER_TEMP in D:\db.mdb -c -t , -r \n -Ssql -Usa -Psa

and i m also trying following

bcp DBName.dbo.ZONE_MASTER_TEMP in D:\db.mdb -Ssql -Usa -Psa


It creates db1.mdb but when trying to open the mdb file it gives error saying "Unrecognized database format 'C:\db1.mdb' "

Thanks & Regards

vipin

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-05-19 : 20:38:42
Duplicate:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=83826






















Go to Top of Page
   

- Advertisement -