Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BITTEST & Oracle
Message
From
14/09/2004 11:28:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
BITTEST & Oracle
Miscellaneous
Thread ID:
00941925
Message ID:
00941925
Views:
65
Hi All,

We have a field in our database that stores a BIT value in character format. Each of the BITs represents a user group. Since there are only 20 user groups we have yet to run into the 32 BIT limit problem.

I am currently converting the programs to access an ORACLE database. So the following query is no longer valid because of the BITTEST() Function.
SELECT EMP.pers_no FROM EMP WHERE BITTEST( VAL(EMP.login_lvl), 7 )
Is there a way to convert this? I'd like to create a Function on the database where I can just pass the BIT value to be tested and have all the PERS_NOs returned.

TIA
Mike

P.S. VFP6 SP5 Oracle 8i
Next
Reply
Map
View

Click here to load this message in the networking platform