When you click on a table in the "Object browser" you'll see in the "SQLpane" the sql that is needed to create that table.
Which function can I call to get that SQL?
Best,Peter