Hi,
Im looking to create tables at runtime using CBuilder 6 and interbase, preferably using a stored procedure. Ive tried a few different methods without success and can find nothing on the net. Any advice would be appreciated.
TIA
Kris
You cannot do this from within a Stored Procedure - DDL (Data Definition Language) is not allwed in stored procedures.
Use SQL DDL statements (like CREATE TABLE) either one by one in a TIBQuery/TQuery/TIB_DSQL/Twhatever component or use script-components that can process the whole lot at once. Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.