1
แจ้งปัญหา / ขอความช่วยเหลือ / ส่งออก 53 แฟ้ม แล้ว ERROR
« เมื่อ: เมษายน 30, 2019, 11:26:58 AM »
ส่งออก 53 แฟ้ม แล้วอยู่ ๆก็ขึ้น DROP command denied แก้ไขยังไงครับ
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
hn/person id/cid ที่ค้นหา ต้องเป็นรายชื่อผู้ที่ผ่านการคัดกรองมาแล้ว นะครับ..
select o.vn,o.hn,p.pname,p.fname,p.lname
,v.pdx,v.dx0,v.dx1,v.dx2,v.dx3,v.dx4,v.dx5
from ovst o
left join ovstdiag o1 on o1.vn=o.vn
left join ovstdiag o2 on o2.vn=o1.vn
left join vn_stat v on o.vn=v.vn
left join patient p on o.hn=p.hn
left join opitemrece o3 on o.vn=o3.vn
where o.vstdate between '2009-1-1' and '2009-1-31'
and o1.icd10 between 'e10' and 'e1499'
and o2.icd10 between 'i10' and 'i1599'
and o3.icode IN ('1481003','1491003','1491004','10000204')
group by o.vn
ประมาณนี้รึป่าว? ผป.ที่ได้รับการวินิจฉัยเป็น DM และ HT และรับยาตามรหัสดังกล่าว ในช่วงเวลาที่กำหนด