Click here to Skip to main content
12,830,888 members (39,023 online)
Rate this:
Please Sign up or sign in to vote.
See more: SQL-CE C# SQL-Server

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???


Email: [Removed]
Posted 3-Oct-12 7:21am
Updated 3-Oct-12 7:27am
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
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.170326.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2017
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