How can I build a Database when i already have an existing SQL code?
I want a simple “.db” file.
Do you know any Programm that also run on Mac?
PS.: I am new with sql and Databases! 😉
froyo
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Most databases don’t support putting all their data into a single file; MySQL, for example, creates one or two files per table in your database and one per index.
Also “building a database” doesn’t make sense; a database is a container (like a file system) in which you can store information. If you want to save files to disk, you need to format the hard disk which creates the file system structure on it. If you want to store information in an SQL database, you need to set up the structure (which will create a lot of files in your file system but the database will know about that – you don’t need to care about this).
I suggest to read the MySQL documentation to see how to install it and “format” part of your file system (= allocate space for your SQL tables) and the tutorial to see how to use MySQL.