Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

Change of structure during development

$
0
0
Hi Marc Sorry for my bad english, i use this code for add columns if fieldpos("c_emdirec") < 1 gci_sqlexe("ALTER TABLE gci_empresas ADD c_emdirec CHAR(60) DEFAULT '' NOT NULL AFTER c_emname2") gci_sqlexe("ALTER TABLE vcnewbos ADD tas_detrac NUMERIC(5,2) DEFAULT '0.00' NOT NULL AFTER des_newbos") end if if you need change colums this code : if len(cdo_cuenta) == 12 gci_sqlexe("ALTER TABLE vcpatpcg MODIFY cdo_cuenta CHAR(14) DEFAULT '' NOT NULL") end if gci_sqlexe is my function to invoke mysql in ADO or TDolphin maybe have other names

Viewing all articles
Browse latest Browse all 26212

Trending Articles