Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use SQL to create files from existing DDFs

Status
Not open for further replies.

kerryn

Programmer
Sep 19, 2002
1
US
I have an application using Pervasive 2000i where I have the DDF's built and I access the Pervasive data using ODBC. I don't want to have to include "empty" MKD files with the installation. I want to only include the DDF files and then use code to create the pyhsical files (i.e. *.mkd files) as needed. Is there a way, using SQL commands, to create the actual files from the table definitions in an existing DDF set? I know that the CREATE TABLE USING command will do this, but only if the table does not already exist.

Thanks in advance,
Kerry
 
I f you drop the table first that will delete the physical file also...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top