jenniferG Posted June 28, 2007 Share Posted June 28, 2007 we are investigating a piece of php4 code datagrid generator and the code supplier gave us a database file callet test.sql the file contains a table create statrement followed by a number of insert statements. From the mysql prompt, what is the syntax for loading that file into the database? Thanks, Annabel Quote Link to comment https://forums.phpfreaks.com/topic/57495-mysql-insert/ Share on other sites More sharing options...
sushant_d84 Posted July 2, 2007 Share Posted July 2, 2007 source (\.) Execute an SQL script file. Takes a file name as an argument. mysql> \. c:\ssd.txt Try this out........ Regards Sushant Quote Link to comment https://forums.phpfreaks.com/topic/57495-mysql-insert/#findComment-287869 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.