SCRIPT TO 'filename' add character ';' at the beginning

26 views
Skip to first unread message

furanu

unread,
May 5, 2012, 7:27:09 AM5/5/12
to h2-da...@googlegroups.com
Hello, when I export the database into a file using the SCRIPT TO 'filename' query all goes well except that at the beginning of the script ther is the character ';' so when I try to read the script using a jdbc statement I get a syntax erorr exception because of that character. Anyone knows why that character is added in the file and not in the resultset and how could I get rid of it?

Thank you
 

Thomas Mueller

unread,
May 9, 2012, 2:43:22 AM5/9/12
to h2-da...@googlegroups.com
Hi,

The ";" is not part of the statement, you should ignore it.

Regards,
Thomas


On Saturday, May 5, 2012, furanu wrote:
Hello, when I export the database into a file using the SCRIPT TO 'filename' query all goes well except that at the beginning of the script ther is the character ';' so when I try to read the script using a jdbc statement I get a syntax erorr exception because of that character. Anyone knows why that character is added in the file and not in the resultset and how could I get rid of it?

Thank you
 

--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/edqqlVvxGcsJ.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
Reply all
Reply to author
Forward
0 new messages