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 6:21am
Edited 3-Oct-12 6:27am
110.4K
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 Maciej Los 225
1 Sergey Alexandrovich Kryukov 137
2 OriginalGriff 130
3 _Amy 115
4 manoj kumar choubey 115
0 OriginalGriff 7,320
1 Sergey Alexandrovich Kryukov 6,043
2 Maciej Los 3,754
3 Peter Leow 3,448
4 CHill60 2,572


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 3 Oct 2012
Copyright © CodeProject, 1999-2014
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