BMS-HOSxP Community

HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: udomchok ที่ มิถุนายน 20, 2010, 23:33:56 PM

หัวข้อ: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: udomchok ที่ มิถุนายน 20, 2010, 23:33:56 PM
Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error ดังนี้ครับ

ALTER TABLE risk_screen_pp_allscreening  ADD `SMOKING_PACK` 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 risk_screen_pp_allscreening  ADD `WT` 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 risk_screen_pp_allscreening  ADD `HT` 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 risk_screen_pp_allscreening  ADD `BMI` 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 risk_screen_pp_allscreening  ADD `BPH_1` 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 risk_screen_pp_allscreening  ADD `BPL_1` 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 risk_screen_pp_allscreening  ADD `BPH_2` 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 risk_screen_pp_allscreening  ADD `BPL_2` 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 risk_screen_pp_allscreening  ADD `BPH_AVG` 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 risk_screen_pp_allscreening  ADD `BPL_AVG` 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 risk_screen_pp_allscreening  ADD `WAIST_CM` 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 risk_screen_pp_allscreening  ADD `WAIST_INCH` 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 risk_screen_pp_allscreening  ADD `PALE` varchar(1) NULL   
ALTER TABLE risk_screen_pp_allscreening  ADD `POST_PANDRIL` 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 risk_screen_pp_allscreening  ADD `POST_PANDRIL_FOOD` int NULL   
ALTER TABLE risk_screen_pp_allscreening  ADD `FBS` 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 risk_screen_pp_allscreening  ADD `CAPILLARY_BLOOD` 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

ตรวจสอบในตาราง risk_screen_pp_allscreening แล้วไม่พบ field ทั้งหมดข้างต้นครับ
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: jdadmin1 ที่ มิถุนายน 20, 2010, 23:36:41 PM
 ;D ;D ;D เจอเหมือนกันครับ นั่งสงสัยอยู่เหมือนกัน ตั้งแต่อัพเวอร์ชั่นมานี่ยังไม่เจอกรณีแบบนี้ซักกะที ;D ;D ;D
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: machai ที่ มิถุนายน 21, 2010, 07:48:17 AM
;D ;D ;D เจอเหมือนกันครับ นั่งสงสัยอยู่เหมือนกัน ตั้งแต่อัพเวอร์ชั่นมานี่ยังไม่เจอกรณีแบบนี้ซักกะที ;D ;D ;D
'งั้นก็คอยแก้ไขกันก่อน ค่อยตาม อ.ไปกันครับ ;D
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: admin ที่ มิถุนายน 21, 2010, 09:06:03 AM
เดี๋ยวขอเวลาตรวจสอบก่อนนะครับ คาดว่าอาจเกิดจากโครงสร้่างตารางจากระบบคัดกรองความเสี่ยงจากคุณแต้งน่ะครับ
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: udomchok ที่ มิถุนายน 22, 2010, 00:48:33 AM
ติดตั้ง Version 3.53.6.21 แล้ว upgrade structure ก็ยังพบ error นี้อยู่ครับ  :D :D
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: Khuad ที่ มิถุนายน 22, 2010, 01:20:38 AM

... งั้นเดี๋ยวผมรออีกหน่อยแล้วกันครับ  ช่วงนี้ไม่ค่อยมีเวลาทดสอบเองครับ ..  :D ...
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: yokyai ที่ มิถุนายน 24, 2010, 22:05:48 PM
วันนี้อัพจาก 3.52.1.16 เป็น 3.53.6.22
มี popup error ว่า
Warining data occure error
table opdscreen
command ADD 'breast_feddinf' char(1) NULL
row decrease from 856214 --- 856212
please confirm upgrade
อันนี้ตอบ YES ไป

แต่ก็มาใหม่อีกทีว่า
Warining data occure error
table opdscreen
command ADD 'cradle_lie' char(1) NULL
row decrease from 856212 --- 856211
please confirm upgrade

อันนี้ตอบ NO
พอ upgrade เสร็จ ดำเนินการ phase2
ก็กลับมาที่
Warining data occure error
table opdscreen
command ADD 'cradle_lie' char(1) NULL
row decrease from 856212 --- 856211
please confirm upgrade

ก็ตอบ NO
อัพเสร็จ ก็อัพซ้ำ ก็มาที่ตาราง opdscreen เลยคับ แล้วก็ผ่านฟิลด์ cradle_lie ไปได้ และก็มีฟิลด์ครบ ตอนแรกไม่มีคับ อัพใหม่ก็มี

จะเป็นไรไหมคับ
แต่ปรึกษาทางพี่อ๊อด กะ พี่เด่น(ไทรน้อย) แล้วก็บอกว่าไม่น่ามีปัญหา
ขอบคุณคับ

หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: doramon ที่ มิถุนายน 24, 2010, 22:22:31 PM
วันนี้อัพจาก 3.52.1.16 เป็น 3.53.6.22
มี popup error ว่า
Warining data occure error
table opdscreen
command ADD 'breast_feddinf' char(1) NULL
row decrease from 856214 --- 856212
please confirm upgrade
อันนี้ตอบ YES ไป

856214 --- 856212  จำทำให้ จำนวนเรคอร์ด ลดลง 2 ครับ

ไม่มีปัญหาทำไปเลย ห้ามทำตอนเป็นแบบนี้

856214 ---  0   
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: ไม่เสียสละ ชัยชนะไม่เกิด ที่ มิถุนายน 24, 2010, 23:38:41 PM
เจ๋งพี่อ๊อด  ;D ;D
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: jdadmin1 ที่ มิถุนายน 25, 2010, 01:55:03 AM
อ้างถึง
856214 --- 856212  จำทำให้ จำนวนเรคอร์ด ลดลง 2 ครับ

ไม่มีปัญหาทำไปเลย ห้ามทำตอนเป็นแบบนี้

856214 ---  0   
;D ;D ;D เหมือนขึ้นระบบใหม่เลยเชียว ;D ;D ;D
หัวข้อ: Re: Upgrade Structure จาก HOSxP 3.53.6.20 แล้วมี Error
เริ่มหัวข้อโดย: yokyai ที่ มิถุนายน 25, 2010, 08:59:38 AM
พี่เด่น(ไทรน้อย) แกบอกว่า ผ่านงานหมูๆไปได้ด้วยใจระทึก
สุดท้ายขอบคุณที่สุด พี่เด่น(ไทรน้อย) ,พี่นาจ,พี่อ๊อด ให้โทรถามได้ตลอดเลย จนเสร็จ
วันนี้เจอว่ารหัสคลินิก....(B2-B24) หายไป ทราบมาว่าเขาให้ยกเลิกหรือครับ หาต้นเรื่องที่ไหนดี
ปล.ไม่รู้อะไรจะหายอีกไหม(555) :)