Board index » delphi » Alter table SQL for Paradox tables

Alter table SQL for Paradox tables

I am trying the following SQL:

Alter table MyTable Add NewColumn boolean default False;

But it does not work. There are default values for paradox fields, is there
a way to set it?

Thanks
Ed Dressel

 

Re:Alter table SQL for Paradox tables


I should qualify. If I drop the 'default False', it works fine. But I want
the default to be false.

Thanks
Ed Dressel

Re:Alter table SQL for Paradox tables


Quote
>But it does not work. There are default values for paradox fields, is there
>a way to set it?

You will have to use the BDE API method dbiDoRestructure
http://www.borland.com/devsupport/bde/bdeapiex/dbidorestructure.html
--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads