易截截图软件、单文件、免安装、纯绿色、仅160KB

MySQL创建存储过程出错

在MySQL5.0中船舰存储过程通不过,提示:
[Err] 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 '' at line 54

实在找不出哪里错了,请高手指点一下

代码如下:
SQL code:

CREATE DEFINER=`root`@`localhost` PROCEDURE `forum_register`(
in email varchar(30),
in password varchar(16),
in userName char(8),
in qq char(10),
in securityQuestion1 varchar(40),
in securityQuestion2 varchar(40),
in securityAnswer1 varchar(40),
in securityAnswer2 varchar(40),
in headPicture blob,
in registerTime datetime,
in participatedTopicsCount int,
in createdTopicsCount int,
in managingSectionID smallint,
in currentUploadSize float,
in state char(1)
)
begin
insert into forum_users(
用户名,
邮箱,
参与主题数,
发起主题数,
密码,
QQ,
头像,
注册时间,
密保问题1,
密保答案1,
密保问题2,
密保答案2,
管理版块ID,
当前上传容量,
状态


)
values(
userName,
email ,
participatedTopicsCount ,
createdTopicsCount,
password,
qq,
headPicture ,
registerTime,


相关问答:

mysql配置文件(my.cnf)

现有的服务器是4核,内存为4G,数据库只使用innodb数据引擎。链接数可能比较高,先设置为500吧,而且数据库中的数据插入、更新和删除操作会非常的频繁。
有没有高人帮忙配置一下my.cnf

这个没有定论的,具体 ......

网站镜像,主网站和镜像网站Mysql数据同步

现在有一个网站,想在另外一台服务器上做一个这个网站的镜像。
在主网站上的数据更新要同步到镜像服务器上
同时用户访问镜像服务器时的数据更新也要同步到主网站上

其中数据更新 主要包括 Mysql数据 ......

MySQL发出叫声

MySQL命令输入错误后,执行错误命令发出可怕的叫声
怎么样解决???
那叫声音跟指针读数据读错了,发出一样可以怕的叫声
搞的我不敢用命令行


呵呵!lz真可爱!

方法一,把你的PC上的喇叭拆除
方 ......

mysql:创建索引出错

大家好,我在创建索引时,出现错误提示,代码如下:

create uique index stu_cou_index on student_info.results (student_id, course_id);
show index from student_info.results;

保存为index ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号