Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-CE C#
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 7:21am
Edited 3-Oct-12 7:27am
(no name)110.6K
v2
Comments
Marcus Kramer at 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 | at 3-Oct-12 12:47pm
   
Thanks
Varun Sareen at 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
0 Sergey Alexandrovich Kryukov 223
1 Abhinav S 170
2 Richard Deeming 155
3 CHill60 150
4 Maciej Los 145
0 Sergey Alexandrovich Kryukov 7,176
1 OriginalGriff 6,410
2 Maciej Los 2,877
3 Abhinav S 2,732
4 Peter Leow 2,704


Advertise | Privacy | Mobile
Web01 | 2.8.150414.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2015
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