Click here to Skip to main content
16,022,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

We want to create a C#/VC++ application using which we should be able to create SQL Server database SNAPSHOTs in our own file format (in an online manner).

And later we should be able to get data from those snapshot files in an offline manner using our application (i.e., we should be able to get number/names of tables/columns...etc.).

Does anybody know how to do that?

Thanks.
Posted
Updated 16-Feb-10 3:19am
v2

1 solution

What I do is to enumerate all tables in the database and then generate a "SELECT * FROM" for each of these tables.

You can then serialize these tables to XML as I described in this posting [^].
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900