摘要: 转换结束符: delimiter / 存储过程: createproceduretest()#或者是(aint,bint,outbint)begin#这里写你的操作end/调用:call test()/ 存储函数: createfunctiontest()#或者是(aint,bint)returnsint#函数体必须包含一个RETURNvalue语句begin#这里写你的操作return1;end/调用:select test()/ 备注:存储函数内不能查表(不能使用select 语句)储过程可以 语法: 存储过程中的局部变量前面无@符号用declare定义,且只能在begin end块中,全 阅读全文
posted @ 2011-02-13 20:53 liushan 阅读(932) 评论(0) 推荐(0)