What version of Pervasive are you using? What is your goal for this process? Rather than create a new table, you might want to consider a VIEW.
To answer the question, you can use the SELECT INTO syntax. For example:
Code:
SELECT t1.f1, t1.f2 INTO #mytmptbl FROM t1 WHERE f1 < 100
The statement above will create a temporary table called #mytmptbl and insert records that match the restriction (f1 < 100).
The same statement can be made into a VIEW and reused easier:
Code:
CREATE VIEW v1 as SELECT t1.f1, t1.f2 FROM t1 WHERE f1 < 100
Since I am having problems converting with Access, the purpose is to create a new table with only part of the table. I can then use this new table, or give it to my helper to create some crystal report when I am too busy.
I just do not want them to connect directly to the master database.
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.