ผู้เขียน หัวข้อ: error นี้ เกิดจากอะไรครับ  (อ่าน 2260 ครั้ง)

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

ออฟไลน์ sshpt

  • Sr. Member
  • ****
  • กระทู้: 446
  • Respect: 0
    • ดูรายละเอียด
    • http://ss-hospital.no-ip.org/
error นี้ เกิดจากอะไรครับ
« เมื่อ: ตุลาคม 20, 2007, 09:18:15 AM »
0
EurekaLog 6.0.3

Application:
-------------------------------------------------------
  1.1 Start Date      : Sat, 20 Oct 2007 08:48:56 -0700
  1.2 Name/Description: HOSMy.exe
  1.3 Version Number  : 3.50.7.4
  1.4 Parameters      :
  1.5 Compilation Date: Wed, 4 Jul 2007 04:25:46 -0700
  1.6 Up Time         : 25 minutes, 25 seconds

Exception:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2.1 Date          : Sat, 20 Oct 2007 09:14:22 -0700
  2.2 Address       : 00807F5D
  2.3 Module Name   : HOSMy.exe
  2.4 Module Version: 3.50.7.4
  2.5 Type          : EZSQLException
  2.6 Message       : SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's cath NO.16')  and generic_name not in ('')  and start_date <= '2007-10-20' and' at line 1.
  2.7 ID            : AAE6
  2.8 Count         : 1
  2.9 Status        : New
  2.10 Note         :

User:
-------------------------------------------------------
  3.1 ID        : supervisor
  3.2 Name      : computer
  3.3 Email     :
  3.4 Company   :
  3.5 Privileges: SeChangeNotifyPrivilege         - ON
                  SeSecurityPrivilege             - OFF
                  SeBackupPrivilege               - OFF
                  SeRestorePrivilege              - OFF
                  SeSystemtimePrivilege           - OFF
                  SeShutdownPrivilege             - OFF
                  SeRemoteShutdownPrivilege       - OFF
                  SeTakeOwnershipPrivilege        - OFF
                  SeDebugPrivilege                - OFF
                  SeSystemEnvironmentPrivilege    - OFF
                  SeSystemProfilePrivilege        - OFF
                  SeProfileSingleProcessPrivilege - OFF
                  SeIncreaseBasePriorityPrivilege - OFF
                  SeLoadDriverPrivilege           - ON
                  SeCreatePagefilePrivilege       - OFF
                  SeIncreaseQuotaPrivilege        - OFF
                  SeUndockPrivilege               - ON
                  SeManageVolumePrivilege         - OFF
                  SeImpersonatePrivilege          - ON
                  SeCreateGlobalPrivilege         - ON

Active Controls:
--------------------------------
  4.1 Form Class   : TMainForm
  4.2 Form Text    : :: HOSxP ::
  4.3 Control Class: TwwDBGrid
  4.4 Control Text :

Computer:
------------------------------------------------------------------------------
  5.1 Name          : PHAR
  5.2 Total Memory  : 1024 Mb
  5.3 Free Memory   : 564 Mb
  5.4 Total Disk    : 65.21 Gb
  5.5 Free Disk     : 53.43 Gb
  5.6 System Up Time: 29 minutes, 35 seconds
  5.7 Processor     : Intel(R) Pentium(R) 4 CPU 1.80GHz
  5.8 Display Mode  : 1024 x 768, 32 bit
  5.9 Display DPI   : 96
  5.10 Video Card   : ASUS A9250 Series (driver 8.203.0.0 - RAM 128 MB)
  5.11 Printer      : Send To Microsoft OneNote Driver (driver 12.3.4518.1014)

Operating System:
------------------------------------
  6.1 Type    : Microsoft Windows XP
  6.2 Build # : 2600
  6.3 Update  : Service Pack 2
  6.4 Language: Thai
  6.5 Charset : 222

Network:
---------------------------------------------------------------------
  7.1 IP Address: 192.168.001.006 - 192.168.150.001 - 192.168.205.001
  7.2 Submask   : 255.255.255.000 - 255.255.255.000 - 255.255.255.000
  7.3 Gateway   : 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  7.4 DNS 1     : 192.168.001.001 - 000.000.000.000 - 000.000.000.000
  7.5 DNS 2     : 000.000.000.000 - 000.000.000.000 - 000.000.000.000
  7.6 DHCP      : ON              - OFF             - OFF           

Custom Information:
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  8.1 Hospital Code    : 10872 [รพช. เสิงสาง]
  8.2 Database Type    : MySQL
  8.3 Database Protocol: mysql-4.1
  8.4                  :
  8.5 No 1             : select * from drug_due where generic_name in ('DIAZEPAM','HALOPERIDOL(สีฟ้า)','PHENYTOIN-Dilantin','Water for Injection 10 ml','BENZHEXOL','Urine bag','Foley' s cath NO.16')  and generic_name not in ('')  and start_date <= '2007-10-20' and end_date >= '2007-10-20'
  8.6 No 2             : SHOW KEYS FROM hos.drug_due_list
  8.7 No 3             : SHOW COLUMNS FROM hos.drug_due_list LIKE '%'
รพ.เสิงสาง จ.นครราชสีมา  (ขนาด 30 เตียง)  Server IBM eServer xSeries 226 
CPU Xeon 3.0 GHz.  SISC-HD 73 Gb. X 2  ECC-Ram 512 Mb. X 2
ขึ้นระบบโดยทีม BMS เดือน เมษายน 2550
OS CentOS 5.1 MySQL 5.1.23-rc  HosXP V.3.51.9.23 เมื่อ 25 กย. 51
ss-hospital@hotmail.com   >>>   http://ss-hospital.no-ip.org/

doramon

  • บุคคลทั่วไป
Re: error นี้ เกิดจากอะไรครับ
« ตอบกลับ #1 เมื่อ: ตุลาคม 20, 2007, 09:49:00 AM »
0
select * from drug_due where generic_name in ('DIAZEPAM','HALOPERIDOL(สีฟ้า)','PHENYTOIN-Dilantin','Water for Injection 10 ml','BENZHEXOL','Urine bag','Foley' s cath NO.16')  and generic_name not in ('')  and start_date <= '2007-10-20' and end_date >= '2007-10-20'


Foley' s cath NO.16


ต้องเอาเครื่องหมาย '  ออกครับ 





doramon

  • บุคคลทั่วไป
Re: error นี้ เกิดจากอะไรครับ
« ตอบกลับ #2 เมื่อ: ตุลาคม 20, 2007, 09:50:43 AM »
0
ไม่เข้าใจความหมายโทรหาแล้วกันครับผมต้องไปกรงเทพแล้ว