Hi all,
I have a small problem.
I have to change the default delimiter of MySql from ';' to '$'.
When i give the command "delimiter $" in the MySql command prompt it
works fine.
But when i do the same thing from my code :
statement.execute("DELIMITER $")
it gives this error,
"java.sql.SQLException: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near 'DELIMITER $' " Exception.
If any one has any clue... pls tell me where it is going wrong.
thank you,
Sarath
Arne Vajhøj - 26 Oct 2006 01:35 GMT
> I have a small problem.
> I have to change the default delimiter of MySql from ';' to '$'.
[quoted text clipped - 11 lines]
>
> If any one has any clue... pls tell me where it is going wrong.
What JDBC driver version are you using ?
Arne