Theme Colors
Layouts
Wide Boxed

sql เปลี่ยนคำนำหน้า

DateTime : 1468-07-27 13:38:17
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'


Message!

หากต้องการตอบกระทู้ Webboard กรุณาเข้าใช้ระบบก่อนนะค่ะ..

กระทู้ตอบกลับ