Click here to Skip to main content
12,296,731 members (54,466 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: SQL-CE C# SQL-Server
Hi,

I have multiple SQL CE DBs and in order to extract data I have to open each DB in SDF viewer and extract data.

Is there way I can extract data from all DBs at once? Like batch run???

Regards,
Waqas

Email: [Removed]
Posted 3-Oct-12 6:21am
Edited 3-Oct-12 6:27am
v2
Comments
Marcus Kramer 3-Oct-12 12:27pm
   
Do not put your email in the question. When someone responds to this question with a comment or answer you will receive a notification email from Code Project to the email address you have attached to your account. Cheers.
| Muhammad Waqas Butt | 3-Oct-12 12:47pm
   
Thanks
Varun Sareen 22-Oct-12 3:09am
   
All the DB's exist on the same server? If yes then you just have to add [DBNAME].dbo.[TableName] in order to fetch the data from different Databases.

And If DB's doesn't exist on the same server then in that case you have to use the Linked Server for extracting the data from different DB's in batch.

For more help in case of linked server. Search google.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160525.2 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100