Page 1 of 1

column alias at oraquey component

Posted: Sat 10 Mar 2007 08:43
by sidlc
Hello all
I'm trying Odac 6 Beta for Delphi 7 and I can not execute sql statments using
toraquery when I'm using column alias with greek characters.
Example:
SELECT kodikos||'/ '||title "Εργο", ERGO_ID ID,Comp_comp_id "Company" ,APPROVED_BUDGET "Budget"
,APPROVED_START_DATE "Start" ,APPROVED_FINISH_DATE "End"
FROM ERGA A
When I'm trying to execute above sql the result error is : "Identifier is to long"
but when I change the column alias to English as following :
SELECT kodikos||'/ '||title "Project", ERGO_ID ID,Comp_comp_id "Company" ,APPROVED_BUDGET "Budget"
,APPROVED_START_DATE "Start" ,APPROVED_FINISH_DATE "End"
FROM ERGA A
the query is running correctly
What shall I do I do in order to have column alias with greek characters in the Toraquery?

( I inform you that using Oracle's Sql Developer tool to execute such querys
there are not errors at all)
Thank you

Posted: Mon 12 Mar 2007 10:27
by Plash
We could not reproduce the problem. Please send to odac*crlab*com a complete small sample that demonstrates the problem, including script to create server objects.

sample prgr sent

Posted: Sat 17 Mar 2007 08:57
by sidlc
Well I sent to you in the [email protected] mail a small program to demonstrate the problem similar with which I mentioned before. If you try to open the query in the form (in the project) you will see that Oracle returns the error "SQL command not properly ended" but if you replace the greek characters in the Where class with latin characters , the query will be executed with no errors. The same occures with column alias with greek characters.


I'm waiting for your answer asap.