sql เปลี่ยนคำนำหน้า
Post By : tharatip
IP Address : 125.26.116.82
select * from patient where pname = 'นางสาว'
update patient set pname = 'น.ส.' where pname = 'นางสาว'
select * from person where pname = 'นางสาว'
update person set pname = 'น.ส.' where pname = 'นางสาว'
โค๊ด
1.
UPDATE patient SET pname='ด.ช.'
2.
WHERE pname LIKE'%ดช%'
หัสมาตราฐาน mrs. = นาง, mr. = นาย
UPDATE patient SET pname='ด.ช.'
WHERE pname LIKE'%ดช%'
person_chronic
clinicmember
update clinicmember set regdate = '01/06/2553' where regdate = '16/05/3094'
update clinicmember set subtype = '3' where subtype = '2'