On 17 Oct 2016, at 3:47pm, Daniel Polski <dan...@agelektronik.se> wrote:

> To make it more complex.. Is it possible to select into "different bytes" 
> depending on bit_position? (For example that bit_position 0-7 represent byte 
> 1, bit_position 8-15 represent another)

You can use the 'CASE' construction to make decisions like that.  See the 
section "The CASE expression" in

<https://www.sqlite.org/lang_expr.html>

Not sure the specifics of including it in Igor's formula but I think it'd work.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to