:oมีอะไรใหม่ๆ ::)บ้างหนอ!
ALTER TABLE stock_subdraw ADD `stock_draw_ref_no` varchar(150) NULL
ALTER TABLE stock_draw ADD `stock_draw_ref_no` varchar(150) NULL
ALTER TABLE patient_hospital ADD `officer_check` char(1) NULL
ALTER TABLE ipt_type ADD `ipt_type_name` varchar(150) NOT NULL
ALTER TABLE ipt_labour_infant MODIFY COLUMN `infant_dchtype` varchar(2)
ALTER TABLE ipt_labour_infant MODIFY COLUMN `infant_dchstts` varchar(2)
ALTER TABLE ipt_labour_infant ADD `infant_fluid_type_id` int NULL
ALTER TABLE infant_indication_type ADD `infant_indication_type_name` varchar(150) NOT NULL
ALTER TABLE infant_fluid_type ADD `infant_fluid_type_name` varchar(150) NOT NULL
ALTER TABLE infant_delivery_type ADD `infant_delivery_type_name` varchar(150) NOT NULL
ALTER TABLE infant_adaptor_type ADD `infant_adaptor_type_name` varchar(150) NOT NULL
CREATE TABLE patient_hospital ( `hn` varchar(9) NOT NULL )
CREATE TABLE ipt_type ( `ipt_type` int NOT NULL )
CREATE TABLE infant_indication_type ( `infant_indication_type_id` int NOT NULL )
CREATE TABLE infant_fluid_type ( `infant_fluid_type_id` int NOT NULL )
CREATE TABLE infant_delivery_type ( `infant_delivery_type_id` int NOT NULL )
CREATE TABLE infant_adaptor_type ( `infant_adaptor_type_id` int NOT NULL )
Modify Column infant_adaptor_type_id int on infant_adaptor_type to Primary Key
Modify Column infant_delivery_type_id int on infant_delivery_type to Primary Key
Modify Column infant_fluid_type_id int on infant_fluid_type to Primary Key
Modify Column infant_indication_type_id int on infant_indication_type to Primary Key
Modify Column ipt_type int on ipt_type to Primary Key