Article View: borland.public.vdbase.data.sql
Article #51Re: creating sql indexes
From: Gary Gary White
Date: Tue, 02 Mar 1999 00:00
Date: Tue, 02 Mar 1999 00:00
34 lines
1329 bytes
1329 bytes
On Tue, 2 Mar 1999 10:59:51 -0500, Danielle wrote: > myDB = new Database() > myDB.databaseName = "WinDB" > myDB.active = true > > myQ = new Query() > myQ.database = myDB > myQ.sql = 'select * from invent' > myQ.active = true > > create index temp on invent (descrip) CREATE INDEX is a local SQL command. It doesn't know what your data objects are. Get Ken's paper on Undocumented features from his web site. It discusses some ways to do this using OODML. OTH, if you want to use XDML, you can try: use :WinDB:invent exclusive index on descrip tag temp Or, if you want to use local SQL: set database to WinDB create index temp on invent descrip Isn't it wonderful how VdB gives you so many ways to accomplish things. <G> Gary White Some dBASE Stuff at http://www.AppTools.com/dbase
Technical Details
Message-ID:
<36dc1430.49819286@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7bh1qc$sl712@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,b5919d253e3ad68a X-Google-Attributes: gidff5a1,public From: Gary (Gary White) Subject: Re: creating sql indexes Date: 1999/03/02 Message-ID: <36dc1430.49819286@forums.borland.com> X-Deja-AN: 450415767 Content-Transfer-Encoding: 7bit References: <7bh1qc$sl712@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Just Me Mime-Version: 1.0 Reply-To: Gary Newsgroups: borland.public.vdbase.data.sql