(zeos 6.6.1 ) TZQUERY select query sintax with FIREBIRD 1.5
Posted: 26.09.2007, 15:02
Hi , I'm new of zeos and this is my first problem .
Before the zeos I was usual to write this kind of query :
SELECT ID, AGE FROM CUST WHERE CITY='ROMA' AND SEX='M'
this kind of sintax was perfect and works fine. With ZEOS this sintax give me an exeption.. it says that CITY and SEX are unknow colum.. so I have to modify the query as follow to make it functionally.. :
SELECT ID, AGE, CITY, SEX FROM CUST WHERE CITY='ROMA' AND SEX='M'
Is this correct and normal ? have I to modify (including all fields used in the WHERE clause) ALL the query of my proj to use zeos ?
There is an HELP that show me the correct way to use sintax in query and advanced query (join method, union etc..) ?
Thank u in advance and sorry for my bad english !
Luca
Before the zeos I was usual to write this kind of query :
SELECT ID, AGE FROM CUST WHERE CITY='ROMA' AND SEX='M'
this kind of sintax was perfect and works fine. With ZEOS this sintax give me an exeption.. it says that CITY and SEX are unknow colum.. so I have to modify the query as follow to make it functionally.. :
SELECT ID, AGE, CITY, SEX FROM CUST WHERE CITY='ROMA' AND SEX='M'
Is this correct and normal ? have I to modify (including all fields used in the WHERE clause) ALL the query of my proj to use zeos ?
There is an HELP that show me the correct way to use sintax in query and advanced query (join method, union etc..) ?
Thank u in advance and sorry for my bad english !
Luca