mysql 的变量赋值如下:
set @name='app' ;
or
set @name:='appfirst';
with select
select @appname:='you name';
or select @appfirstname:=field from tablename;
使用的过程与sql server是有区别的。
oracle 的变量赋值与mysql 的:= 是相同的。
posted on 2014-05-05 21:04 荣锋亮 阅读(272) 评论(0) 收藏 举报