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
4266
June 18, 2010 10:43AM
2080
June 21, 2010 06:49PM
1606
June 22, 2010 09:30AM
1599
June 26, 2010 11:15AM
1522
June 26, 2010 12:50PM
1421
June 26, 2010 05:20PM
1504
June 26, 2010 05:40PM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.