on-internet
← Community

Is there any way to convert an integer (3 in decimal form) to its binary equivalent 11 in SQLite?

Stack Overflow ·

I am aware that there are functions in Oracle and MS SQL that can do so, so is there any function that does it or is there any way to convert it inside SQLite? My table structure; col1 int primary key col2 in not null <- I want to convert the value of this column into binary an perform a few comparisons for a set sequence of binary combinations The way I am currently employing is taking the data outside into a datatable in C# and converting it externally, but that's wrong apparently.

Comments

Sign in or sign up to comment and upvote.

No comments yet.