java - Selecting from FileMaker table via JDBC when the table name contains spaces -
i using jdbc data out of file maker server v12.
for unknown reason filemaker allows have spaces in table names. unable select these tables because syntax error.
i have written application in java data out. have idea how can select data table space in it?
edit (from op's comments):
this java part:
string selectsql = "select "+this.getimportablecolumnsstring()+" "+this.gettablename(); preparedstatement preparedstatement = this.connection.preparestatement(selectsql); resultset rs = preparedstatement.executequery();
as mentioned in comment question, if filemaker table name contains spaces must enclosed in double-quotes in sql statement, e.g.,
string selectsql = "select * \"table name\"";
Comments
Post a Comment