Jump to content

mysql stored procedures


aldm

Recommended Posts

When I want to create this procedure:

create procedure Ubaci(isbna char(13), autora char(30), naslova char(60), cijenaa float(4,2))

begin

insert into knjige(isbn, autor, naslov, cijena)

values(isbna, autora, naslova, cijenaa);

end

in mysql, it showes me 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 '' at line 4

What's wrong?

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/170656-mysql-stored-procedures/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.