CREATE DEFINER=`jhise`@`localhost` PROCEDURE `document_get_by_access_key`(in i_access_key char(32))
BEGIN
	select
		*
	from
		document
	where
		access_key= i_access_key;
END
