What exactly is your problem? Go ahead and code a procedure. Come back if it does not work and show us what you did.
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
In collaborative debugging it's deemed good practice not only to state that an error occured but to cite the error message as precisely as possible.
Your code in my test installation gives not only one but two errors.
1) You have to set the delimiter to //
2) x = x + 1 is not a valid SQL statement. Probably you mean set x = x + 1
Also it's deemed good practice to stick to the spelling of variable names. Try this one:
delimiter //
create procedure enter_data()
begin
declare x int default 0;
repeat
insert into Person values('AAAA');
set x=x+1;
until x > 10000
end repeat;
end //
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
You can get random strings with md5(rand())
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254
This is a new question. Start a new thread with it and close this one.
smantscheff
Nearly a Posting Virtuoso
1,233 posts since Oct 2010
Reputation Points: 300
Solved Threads: 254