ผู้เขียน หัวข้อ: ลองใช้คำสั่ง describe pttype ไม่ได้ครับ  (อ่าน 5469 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

ออฟไลน์ naj

  • Hero Member
  • *****
  • กระทู้: 2,449
  • Respect: +8
    • ดูรายละเอียด
    • http://www.luangphopern-hospital.com
ลองใช้คำสั่ง describe pttype ไม่ได้ครับ
« เมื่อ: กันยายน 05, 2006, 23:56:26 PM »
0
EurekaLog 5.1.7

Application:
-------------------------------------------------------
  1.1 Start Date      : Tue, 5 Sep 2006 07:49:00 -1200
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 2.49.8.12
  1.4 Parameters      :
  1.5 Compilation Date: Sat, 12 Aug 2006 20:06:18 -1200

Exception:
-----------------------------------------------------
  2.1 Date   : Tue, 5 Sep 2006 12:53:01 -1200
  2.2 Address: 0064AF66
  2.3 Module : HOSMy.exe
  2.4 Type   : EZDatabaseError
2.5 Message: Incorrect symbol in field list "Null".

Active Controls:
----------------------------------------------------
  3.1 Form Class   : TMainForm
  3.2 Form Text    : :: HOSxP :: - [HOSxP SQL Query]
  3.3 Control Class: TJvHLEditor
  3.4 Control Text : describe  doctor

Computer:
-----------------------------------------------------
  4.1 Name          : DRUG
  4.2 User          : Drug
  4.3 Total Memory  : 375 Mb
  4.4 Free Memory   : 212 Mb
  4.5 Total Disk    : 9.77 Gb
  4.6 Free Disk     : 2.43 Gb
  4.7 System Up Time: 5 hours, 57 minutes, 5 seconds
  4.8 Processor     : Intel(R) Celeron(R) CPU 2.40GHz
  4.9 Display Mode  : 1024 x 768, 32 bit

Operating System:
------------------------------------
  5.1 Type    : Microsoft Windows XP
  5.2 Build # : 2600
  5.3 Update  : Service Pack 2
  5.4 Language: Thai

Network:
---------------------------------
  6.1 IP Address: 100.100.100.006
  6.2 Submask   : 255.255.255.000
  6.3 Gateway   : 100.100.100.110
  6.4 DNS 1     : 203.147.000.003
  6.5 DNS 2     : 203.147.000.002
  6.6 DHCP      : OFF           

Other Information:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  7.1 : Hospital Code = 13819 [รพช. หลวงพ่อเปิ่น]
        Database Type = MySQL
        Database Protocol = mysql-4.1
        Last 3 SQL Statement
        .
        No 1 = describe  doctor
        .
        No 2 = select d.vn,d.doctor_code,d.rx_queue,d.doctor_order_print_date_time,d.patient_name,t.name as doctor_name,d.diagnosis_name,count(d.doctor_order_print_code) as label_count from doctor_order_print d left outer join doctor t on t.code=d.doctor_code where d.doctor_order_print_date_time between '2006-09-05 00:00:01' and '2006-09-05 23:59:59' and d.print_status='N' and d.print_server='OPD' group by d.vn,d.doctor_code,d.rx_queue,d.doctor_order_print_date_time,d.patient_name,t.name ,d.diagnosis_name order by d.rx_queue,d.doctor_order_print_date_time limit 50
        No 3 = select accessright from opduser where loginname='nk'
        .
        Server variable
Yindee And Tan

ออฟไลน์ SBR10993

  • Full Member
  • ***
  • กระทู้: 182
  • อะจ๊ากกก..ย่ะ ย่ะ..
  • Respect: +1
    • ดูรายละเอียด
Re: ลองใช้คำสั่ง describe pttype ไม่ได้ครับ
« ตอบกลับ #1 เมื่อ: กันยายน 06, 2006, 00:07:29 AM »
0
ในโปรแกรมฮอสเอ๊กพีใช้ไม่ได้มาระยะนึงแล้วครับ อ.นาจครับ..ไม่ว่าจะเป็นกับ pttype หรือตารางอื่นก็ตามที..แต่เข้าไปใช้คำสั่งนี้โดยตรงที่ server ได้ครับหรือโปรแกรมที่เป็น front end ของ mysql server ก็สามารถใช้คำสั่งพวกนี้ได้ครับผม...ผมคิดว่าเป็นที่โปรแกรมฮอสฯ แล้วล่ะครับ อ.พี่นาจ
Mr.kanchit Pinitmontree
NongBualamphu Prov.Pub.Health
implimented on 14-07-2006 individual

ออฟไลน์ naj

  • Hero Member
  • *****
  • กระทู้: 2,449
  • Respect: +8
    • ดูรายละเอียด
    • http://www.luangphopern-hospital.com
Re: ลองใช้คำสั่ง describe pttype ไม่ได้ครับ
« ตอบกลับ #2 เมื่อ: กันยายน 06, 2006, 00:38:38 AM »
0
thank  :D
Yindee And Tan

ออฟไลน์ The Kop

  • Full Member
  • ***
  • กระทู้: 116
  • Respect: 0
    • ดูรายละเอียด
Re: ลองใช้คำสั่ง describe pttype ไม่ได้ครับ
« ตอบกลับ #3 เมื่อ: กันยายน 06, 2006, 01:42:09 AM »
0
เข้าไปใช้ SQL เฉย ๆ ในเมนู Tool....SQL สายฟ้าตัวเล็กก็ได้ครับ ใช้ได้ครับ
ทำวันนี้ให้มากกว่าคำว่าดี เพราะไม่มีสิ่งใหนจะเป็นที่สุดได้

ออฟไลน์ manoi

  • Hero Member
  • *****
  • กระทู้: 8,669
  • Respect: +170
    • ดูรายละเอียด
    • HOSxP Community Center
Re: ลองใช้คำสั่ง describe pttype ไม่ได้ครับ
« ตอบกลับ #4 เมื่อ: กันยายน 06, 2006, 08:38:56 AM »
0
ทำการแก้ไขให้แล้วครับ

2.49.9.5
HOSxP Project Manager / Cheif Developer / BMS MD