如何通过程序修改paradox数据库的表的结构呢?(如增加字段)(50分)

P

pount

Unregistered / Unconfirmed
GUEST, unregistred user!
如何通过程序修改paradox数据库的表的结构呢?
如:在表test1中增加字段t11,类型为字符型,长度20,
 
alter table 'test1.db' add t11 Char(20)
 

with Table1do
begin
Active := False;
TableType := ttParadox;
TableName := 'Test1.db';
FieldDefs.add('t11',ftString,20,true);
CreateTable;
end;

 
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
949
SUNSTONE的Delphi笔记
S
S
回复
0
查看
770
SUNSTONE的Delphi笔记
S
S
回复
0
查看
1K
SUNSTONE的Delphi笔记
S
顶部