Article View: borland.public.vdbase.data.sql
Article #843Re: SQL Drop
From: Steve Koterski
Date: Thu, 11 Jun 1998 00:00
Date: Thu, 11 Jun 1998 00:00
27 lines
1781 bytes
1781 bytes
On Thu, 11 Jun 1998 14:45:11 -0500, "Christopher F. Neumann" <CNeumann@Physix.com> wrote: >Is it me, or is it virtually impossible to use the following w/SQL Server >6.5 database from within VdB 5.6: > >alter table tablename drop fieldname Your statement appears syntactically correct. It would require a table named TableName and a column named FieldName (yes, I know these are just for example). Assuming you use this syntax with actual metadata names the SQL statement should work -- assuming the database back-end supports the syntax. Some database systems do not support the DROP COLUMN clause of the ALTER TABLE statement (hard to believe, but true!). Check the documentation for Microsoft SQL Server to see whether or not it supports this. If it does not, you would not be able to use this syntax no matter what front-end programming tool you use: Visual dBASE, Delphi, C++Builder, Visual Basic, or whatever. ////////////////////////////////////////////////////////////////////////// Steve Koterski "Knowledge comes, but wisdom lingers." Technical Publications -- Alfred, Lord Tennyson (1809-1914) INPRISE Corporation http://www.inprise.com/delphi
Technical Details
Message-ID:
<35824a2e.20473121@forums.inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6lpc12$bnp3@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,a1e99d4a030aa664 X-Google-Attributes: gidff5a1,public From: koterski@borland.com (Steve Koterski) Subject: Re: SQL Drop Date: 1998/06/11 Message-ID: <35824a2e.20473121@forums.inprise.com> X-Deja-AN: 361816130 Content-Transfer-Encoding: 7bit References: <6lpc12$bnp3@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: INPRISE Corporation, Technical Publications Mime-Version: 1.0 Reply-To: koterski@borland.com Newsgroups: borland.public.vdbase.data.sql