hi
alter table test add name text(10) default null
when i used alter table in uniquery dispaly error.
how i used alter table with default value .
when i used alter table with out default value this code is true.
please help me
tanks
alter table
-
- Posts: 2
- Joined: Thu 03 Feb 2011 16:51
alter table
hi
The version of UniDAC is :3.50.0.14 for RAD studio 2010
the name and the version of your IDE is :Embarcadero® RAD Studio 2010 Version 14.0.3615.26342 (Delphi 2010)
The name of my database is :sql server2010 and Microsoft Access
The script of alter table is:
UniQuery1.SQL.Text:='ALTER TABLE DP_Tab '+
' ADD nCas_num int default 0';
UniQuery1.Execute;
The version of UniDAC is :3.50.0.14 for RAD studio 2010
the name and the version of your IDE is :Embarcadero® RAD Studio 2010 Version 14.0.3615.26342 (Delphi 2010)
The name of my database is :sql server2010 and Microsoft Access
The script of alter table is:
UniQuery1.SQL.Text:='ALTER TABLE DP_Tab '+
' ADD nCas_num int default 0';
UniQuery1.Execute;