Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Bitwise operators in SQL!!?

$
0
0

I just had a look into the respective Oracle documentation.

 

Currently they support bitwise operations on numbers up to 128 bits in plain SQL and 32 bits in PL/SQL.

The example coding there shows the decoding of complex information from a single "status" column.

 

That leaves me with questions like:

  • is it a good choice to store different types of information in one column?
  • is it a good choice to encode the information as binary?
  • would I want to have 128 bits for that?

 

Right now, I don't actually see the use case here.

What would be your one?

 

- Lars


Viewing all articles
Browse latest Browse all 9165

Trending Articles