-
TurnHere is the leader in local web video, working with more than 30,000 businesses, across the U.S., to grow their business with video. For a low monthly fee, we create a custom video about your business, help you add it to your web site and distribute it across the internet to people looking for your product or service.
-
DROP FUNCTION IF EXISTS `BASE58` $$
CREATE FUNCTION `BASE58`( num BIGINT) RETURNS varchar(255)
DETERMINISTIC
BEGIN
DECLARE chars CHAR(58) DEFAULT "123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ";
DECLARE stream CHAR(32) DEFAULT "";
DECLARE res INT;
WHILE num > 0 DO
SET res = num % 58;
SET num = num DIV 58;
SET stream = CONCAT(MID( chars, res + 1, 1 ), stream);
END WHILE;
RETURN stream;END $$