I have an error in while and end while in my code ...
here is my code:
SET i = 0;
WHILE i<n DO
INSERT INTO bo_search_engine_scenario (version, mcs, name, factor, tracking_code)
SELECT version, mcs, name, factor, tracking_code FROM bo_search_engine_scenario_temp LIMIT i,1;
END WHILE
Why does it give me while is not valid at this position?
WHILE.