Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> ODBC with oracle hint problem & problem with queries
Hello,
I have two problems, with ODBC driver, as follows :
1)
I am developping in VB 6.0
In the server (which ODBC & Oracle on it),
I run a sql query with hints (like :Select /*+index .... /*)
For a reason I don't know why, with ODBC the sql hung, but when I run in
sql-plus : the query is ok, and run fast.
What may be the reason of the above ?
2)
For a reason I don't know, for select statement like this :
select 'ABC' from dual.
When running from sql-plus I got :
'ABC'
(without spaces).
And when running from VB, using ODBC, I got :
'ABC ' , with spaces (it is not a fixed length).
Why ?
Thanks :) Received on Sun Sep 05 2004 - 16:07:52 CDT
![]() |
![]() |