Click here to Skip to main content
16,022,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
We are designing a windows application where we need to 'Get table and column names from existing sql server snapshot file or backup file' .
Does anybody know how it can be done.

Please provide help.
Thank you. :)
Posted
Updated 19-Jan-10 20:05pm
v2

1 solution

I might be wrong but, I dont think you can read from the backup file directly, without attaching it to the sql server engine. you need to restore somewhere as a temp database and then you can read all the information from Select * From Information_Schema.Tables and Select * From Information_Schema.Columns views...
 
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