Up str แล้วเจอแบบนี้อีกแล้วครับ
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `rts2` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `rts1` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `gcs2` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `gcs1` double(22,) NULL
Checking structure phase 2
ALTER TABLE tmp_dw_guid_patient_image ADD `md4` char(4) NULL
ALTER TABLE tmp_dw_guid_patient_image ADD `md3` char(3) NULL
ALTER TABLE tmp_dw_guid_patient_image ADD `md2` char(2) NULL
ALTER TABLE tmp_dw_guid_patient_image ADD `md1` char(1) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `rts2` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `rts1` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `gcs2` double(22,) NULL
SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') NULL' at line 1
ALTER TABLE injury ADD `gcs1` double(22,) NULL
CREATE TABLE tmp_dw_guid_patient_image ( `hos_guid` varchar(38) NOT NULL )