I am facing an issue when I fire a select query.
If the fileName(dbf filename) contains spaces,then an SQL Exception is thrown with SQLState as 34000 which indicates that its an invalid cursor name according to the SQL Error Codes.
eg : if the select query is something like this :
select top 1 * from abc xyz.dbf;
where the file name is "abc xyz.dbf".
Enclosing the file name in  or "" also doesn't work.
Is there any way of firing the select query for the file whose name contains spaces ?
Thanks in advance.
select top 1 * from "r perso.dbf";
select top 1 * from [r perso.dbf];
Check whether your "abc xyz.dbf" has more than one space, and whether you're using Linux/Unix which requires case sensitive.