| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1703 人关注过本帖
标题:[求助]mysql5存储过程出错
只看楼主 加入收藏
mihaisheng
Rank: 1
等 级:新手上路
帖 子:47
专家分:0
注 册:2005-1-28
收藏
 问题点数:0 回复次数:2 
[求助]mysql5存储过程出错
create procedure myproc5 (c1 int,c2 varchar(20),c3 varchar(50))
begin
insert into table1 values ( c1 , c2 , c3 );
end;
帮我看看,哪错了啊???
搜索更多相关主题的帖子: varchar procedure insert begin 
2006-03-06 19:51
mihaisheng
Rank: 1
等 级:新手上路
帖 子:47
专家分:0
注 册:2005-1-28
收藏
得分:0 
[local] ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into table1 values ( c1 , c2 , c3 )' at line 3
[local] ERROR 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'end' at line 1

2006-03-07 11:47
weizy
Rank: 1
等 级:新手上路
帖 子:5
专家分:0
注 册:2006-8-1
收藏
得分:0 
DELIMITER $$
create procedure myproc5 (c1 int,c2 varchar(20),c3 varchar(50))
begin
insert into AAA value( c1 , c2 , c3 );
end;$$
DELIMITER ;
2006-08-01 16:04
快速回复:[求助]mysql5存储过程出错
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.027689 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved