BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to reestructure one BDE table in trough application?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Alexandre César
Guest





PostPosted: Fri Aug 18, 2006 7:46 pm    Post subject: How to reestructure one BDE table in trough application? Reply with quote



How to reestruture one BDE table from my application using BDE functions?
I need include one field in a table wich has data!
This is possible and secure?
Thank's
Back to top
Antonio Felix
Guest





PostPosted: Fri Aug 18, 2006 8:46 pm    Post subject: Re: How to reestructure one BDE table in trough application? Reply with quote



"Alexandre César" <alexandrecrt (AT) gmail (DOT) com> wrote:
Quote:
How to reestruture one BDE table from my application using BDE functions?
I need include one field in a table wich has data!
This is possible and secure?
Thank's




Hi,

The easiest way is to use the ALTER TABLE DML statement

/quote

Adds or deletes a column from a table.

ALTER TABLE table_reference DROP [COLUMN] column_reference | ADD [COLUMN] column_reference [,reference DROP [COLUMN] column_reference | ADD [COLUMN] column_reference...]

/endquote

HTH
Antonio
Back to top
Antonio Felix
Guest





PostPosted: Sat Aug 19, 2006 2:09 am    Post subject: Re: How to reestructure one BDE table in trough application? Reply with quote



or use the Bde DbiDoRestructure.

take a look at:

http://info.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html

Example 10

HTH
Antonio
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.