CREATE TABLE ist innerhalb einer SP nicht möglich:
Zitat:
Statement types not supported
The stored procedure and trigger language does not include many of the statement types available in DSQL or gpre. The following statement types are not supported in triggers or stored procedures:
• Data definition language statements: CREATE, ALTER, DROP, DECLARE EXTERNAL FUNCTION, and DECLARE FILTER
• Transaction control statements: SET TRANSACTION, COMMIT, ROLLBACK
Quelle:
IB 7.5 Language Reference in LangRef.pdf Seite 3-2
Gruß Jürgen