dbTalk Databases Forums  

Question: BITAND Oracle function and ODBC database link

comp.database.oracle comp.database.oracle


Discuss Question: BITAND Oracle function and ODBC database link in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lev
 
Posts: n/a

Default Question: BITAND Oracle function and ODBC database link - 06-01-2004 , 05:04 PM






Hello,

I have a silly situation that I can't figure out. I have the following
query:

select *
from table1 join table2@mssql on table1.field1 = table2.field2
where BITAND(table2.bitfield, 256) = 0

Table2 is is in a linked database, residing on Microsoft SQL server.
Trouble is Oracle insits on executing BITAND on MSSQL, as it
rightfully wants to filter the resultset before transfering it over.
MSSQL does not support BITAND (it has an & operator), so I get an
error:

ORA-28500: connection from ORACLE to a non-Oracle system returned this
message:
[Generic Connectivity Using ODBC][A096] Unknown function BITAND() with
2
operands
ORA-02063: preceding 2 lines from LINK1

Any ideas? Thanks so much in advance.

lev.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.