摘要:
DELIMITER $$DROP FUNCTION IF EXISTS test_fun1$$CREATE FUNCTION test_fun1 (df1 INT) RETURNS VARCHAR(20) DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER COMMENT '这是函数的描述'BEGIN SET df1 = 13; INSERT INTO testtable1(NAME)VALUES('li'); SELECT COUNT(*) INTO @cun FROM testtable1; RETURN @cun 阅读全文
posted @ 2013-05-28 16:51 75077027 阅读(994) 评论(0) 推荐(0) 编辑