摘要:
DELIMITER $$ DROP FUNCTION IF EXISTS `value_of_bit_index_is_true`$$/*计算某个数字的某些索引的位的值是否都为1,索引类似1,2,3,4*/CREATE FUNCTION `value_of_bit_index_is_true`(`n 阅读全文
摘要:
DELIMITER $$ DROP FUNCTION IF EXISTS `value_of_bit_index`$$/*计算数字的某个位的值*/CREATE FUNCTION `value_of_bit_index`(`number` int, `idx` int) RETURNS int(11) 阅读全文