BMS-HOSxP Community
HOSxP => แจ้งข้อผิดพลาดการทำงานของ HOSxP V3 => ข้อความที่เริ่มโดย: pop_hosxp ที่ กุมภาพันธ์ 24, 2012, 12:07:25 PM
-
รบกวน อ.MN ด้วยครับ คลิก drop down แล้วไม่มี รพสต.ให้เลือก คงต้องแก้ไขคำสั่งตรงด้านล่างนี้ครับ
Date Time Type Exec Time SQL Text
550224 11:44:41.510 SOAP SOAP Call DW : >select e.hospcode ,h.hosptype,h.name from online_etl e,hospcode h where e.hospcode = h.hospcode and h.hosptype = "สอ." order by e.hospcode
-
รบกวนอาจารย์อีกรอบครับ เนื่องจากในตาราง hospcode ตรง hosptype จะเป็น "โรงพยาบาลส่งเสริมสุขภาพตำบล" เลยไม่มีรายชื่อให้เลือก คงต้องรบกวนอาจารย์อีกรอบครับ
select e.hospcode ,h.hosptype,h.name from online_etl e,hospcode h where e.hospcode = h.hospcode and (h.hosptype like "%สอ%" or h.hosptype like "%สต%" or h.hosptype like "%ส.ต.%" or h.hosptype like "%สต.%" ) order by e.hospcode