Ktos wie, czemu ten kod sie nie chce wykonac ? (mimo ze sie kompiluje)
Kod:

  1. delimiter |
  2. CREATE procedure proc11()
  3. begin prepare stm FROM 'select count(*) from ?'; SET @tabs = 'cars';
  4.  
  5. execute stm USING @tabs;
  6.  
  7. end;|



a blad

Cytat
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 1


pozdrawiam