How to run a .sql script file?

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I need to create databases(and tables) during installation. I am trying to load it from the .sql script, so  I need to know how to run the .sql script to create the tables? Is there any method where I can directly run the file? or Do I have to read the file, then put it into a string and then execute the string?


<hr size="1" align="left" width="25% nasayoo

View the full article
 
Back
Top