Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've already used a tMySQLRow component to execute several statements (configuring the connection with "allowMultiQueries=true"), but now I have a SQL file with different types of statements:
- Drop tables
- Create tables
- Create indexes
- Function declarations (set delimiter // create function xxxx... set delimiter ; )
- Truncate tables
- Insert into table select ....
There are many statements, and not sure the function declarations that work under mysql console, can be embedded in the tMySQLRow component.
Is there any way or tMySQL component like tMySQLRow able to execute a MySQL script (SQL text file)?
Thanks