I use the following query to retrieve data from a .mdb file through JDBC, however when I try it on an .odb file it goes does not throw any exceptions but there are no results at all. I am wondering is .odb case sensitive where .mdb is not or is there something else I am missing?
“SELECT DISTINCT column-one + ‘:’ + column-two As ResultColumn FROM datatable;”
How can I go about creating one statement that will work on both these file types?
They would be differnt because they are two differnt products written by two differnt companies and the programmers made different choices as to how to handle things.
Have you tried using a column alias you specify, perhaps something more descriptive than Expr1000?
That’s how I would write it in SQL Server, check your database to see if this would work.