I am using libreOffice Base to query an external (access.mdb) database which is predefined and cannot be altered. This is because I get a new database every day and have to create reports based on the included data.
In this database on row is declared as varchar(50) but the values are digital(10,2) and i need those values to calculate some results.
Now I am trying to cast the row into an new digital row, but it fails:
select cast(´myVal´,digital[10,2]) as numVal from ´myTable´
myVal is as mentioned above defined to be varchar[50]
Can anyone tell me how the right syntax for the cast works?