[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL database viewer, or how to get contents of DB file?

Posted on 2004-09-22
7
Medium Priority
?
371 Views
Last Modified: 2008-03-17
I am beginning to write a program on Windows using .NET C# and Sqlite. I have an existing .db file from another application...I assume this is a SQL database. Forgive me for my ignorance, but I'm not familiar with databases much at all.

Anyway my first problem is...what is in this .db file? Is there a freeware/opensource viewer I can use to see the contents? OR, can I get the contents programmatically? Of all the examples and tutorials I have found about SQL databases, I haven't found a query string that just gets all of the table names, and their column names, etc. It's like you have to already know that. But I didn't create the database though.

Any help would be appreciated, thanks!
0
Comment
Question by:gunn
5 Comments
 
LVL 19

Expert Comment

by:NickUpson
ID: 12123695
You first have to find out what database this file comes from, without that there is
very little you can do. When you know the answer that will probably tell you that installation of that product is necessary
0
 

Author Comment

by:gunn
ID: 12124249
Hmmmm, ok. All I have been told so far is that they (Snapstream BeyondTV developers) are using SQLite. I'll ask around more on their forums...
0
 
LVL 2

Expert Comment

by:ngolovin
ID: 12134415
Here: http://bobmanc.home.comcast.net/sqlitecc.html

should be exactly what you need.

"SQLite Control Center is a visual tool for working with SQLite database files"
0
 

Author Comment

by:gunn
ID: 12134969
Great, thanks. I'll check it out.
0
 
LVL 4

Accepted Solution

by:
ndegioia earned 500 total points
ID: 12179771
If you are using Visual Studio.NEt you can connect to you database file with ease.  Use the Server Explorer and the SQL adapters.  Then create a datagrid to load the table.  With the right tutorial it will take you miniutes.  You can View and Edit you DB file.  Build the program and use it as an edit utility.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question