[Help] Database on Resources [Solved]

Posts 1–13 of 13 · Page 1 of 1
[Help] Database on Resources [Solved]
Can i use a database on the resource?
For example use the slq cmds INSERT INTO , SELECT Idk FROM TableIdk ....with the database on the resources?
How i do the connection string? ( If is possible)
Like the name says.. A Database is not a file exactly...
Ofc using Access or Excel you can "simulate" a simple DB. But its not the same.

The point of a DB is to store data... And data sometimes can be... "huge" in size...

You will always need to have it hosted somewhere.

PS: A DB is not a solution for everything... keep that in mind..
I know but since i learned "Databases" i love it and just want use it xD
My database will not be "HUGE" xD
Quote Originally Posted by ChocoBoyJr View Post
I know but since i learned "Databases" i love it and just want use it xD
My database will not be "HUGE" xD
What do you want to use it for?
If it is to be local and small. There is no reason to use a Database in my opinion..
Yeah XML documents, or even simple text documents (if the records are small enough) are satisfactory substitutes for a small, local database. Also, resources are simply files you import, stored as an array of bytes in your programs memory. If you want to use the resource and the resource isn't one of VS's "supported resources" (i,e Bitmaps etc), you have to write it to the harddrive before it can be used.
I kno how to do XML but not SQL
Quote Originally Posted by mnpeepno2 View Post
How does that help with a database in resources lol. Anyway, I still vote XML, it's fast, reliable and local. Easily stored and extracted from resources. Otherwise get a free host that supports MySQL and set up an online database.
Yea, XML seems decent to me.
hmm Ok thanks guys, Im gonna search for xml ^^
Solved.
Take a look at SQLite, it's a library to create a local database in one or two files.
Marked solved.
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Need help?