MySQL Forums
Forum List  »  Optimizer & Parser

Union of two binary Strings
Posted by: Amir Manzour
Date: June 18, 2010 10:43AM

I am trying to get the union of two binary strings(=how many bit positions are set in both of them) without a while loop and where the length of the second one is parameter.

For example "Select make_set(4,'0,'0',1')"
but i want the binary string set to be a parameter of variable length

I tried "Select make_set(4,EXPORT_SET(5,'1','0',',',3))"
but doesn't give me desired results.

What can I do instead?

Options: ReplyQuote


Subject
Views
Written By
Posted
Union of two binary Strings
4248
June 18, 2010 10:43AM
2068
June 21, 2010 06:49PM
1595
June 22, 2010 09:30AM
1582
June 26, 2010 11:15AM
1512
June 26, 2010 12:50PM
1412
June 26, 2010 05:20PM
1492
June 26, 2010 05:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.