Article View: borland.public.vdbase.data.sql
Article #341Re: creating tables
From: Bowen Moursund (TeamB)
Date: Mon, 04 Jan 1999 00:00
Date: Mon, 04 Jan 1999 00:00
20 lines
1175 bytes
1175 bytes
>What I'd like to ask is with the CREATE TABLE command, does it always
>save the table to the ALIAS directory and not the current one?
Because that's how it's designed to work, and the way it ought to work.
> What I
>want to do is create a temporary datafile(table)
I suggest you use the system temp directory for temporary tables. You can
determine the temp directory with GETENV(). Maybe something like this:
private cTmpTable
cTmpTable = getenv("TMP") + "\" + "TMP.DBF"
create table &cTmpTable. ( STOCK CHAR(5), .........
__
Bowen Moursund (TeamB)
bowen at nerds dot com
http://lonestar.texas.net/~moursund/
Try this help resource:
http://www.dejanews.com/home_ps.shtml
Technical Details
Message-ID:
<76r3k9$8vp6@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36905D71.848AE379@netfront.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,e4cce62cc4a643dc X-Google-Attributes: gidff5a1,public From: "Bowen Moursund (TeamB)" <bowenSEND_ME_NO_SPICED_HAM@nerds.com> Subject: Re: creating tables Date: 1999/01/04 Message-ID: <76r3k9$8vp6@forums.borland.com> X-Deja-AN: 428722623 References: <36905D71.848AE379@netfront.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: DataTech Newsgroups: borland.public.vdbase.data.sql