isaacramthal61
New Member
- Messages
- 3
- Reaction score
- 0
- Points
- 0
Script to import the procedure i used was
create procedure getlogindetails()
begin
select count(*) from user;
end
This gives me an error like
#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 3
but the following is executed from the phpmyadmin panel
create procedure getlogindetails()
begin
end
Can you advice me what I am doing wrong here?
create procedure getlogindetails()
begin
select count(*) from user;
end
This gives me an error like
#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 3
but the following is executed from the phpmyadmin panel
create procedure getlogindetails()
begin
end
Can you advice me what I am doing wrong here?