 |
ช่วยด้วยจ้า ... ตายเพราะเรื่องงายๆ Enter password: ********* Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id |
|
 |
|
|
 |
 |
|
Enter password: *********
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 65 to server version: 5.0.24a-community-nt-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use f2hand
Database changed
mysql> insert into order value(0,502012340,20100105,1,1,'2008/10/5') ;
ERROR 1064 (42000): 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 'order
value(0,502012340,20100105,1,1,'2008/10/5')' at line 1
mysql>
ช่วยหน่อยจ้า งง หมดแล้ว..... คำสั่ง insert ง่าย ๆ ไม่น่าเเลย 
Tag : - - - -
|
|
 |
 |
 |
 |
Date :
15 เม.ย. 2551 11:00:38 |
By :
ช่วยด้วยจ้า |
View :
1905 |
Reply :
2 |
|
 |
 |
 |
 |
|
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
-ฟิลด์ที่ใส่ครบรึป่าว
-ชนิดข้อมูลถูกรึป่าว (ตามที่คุณรู้อย่แล้ว ตัวเลขไม่ใส่ single qoute พวกชนิด text ใส่ siangle qoute)
|
 |
 |
 |
 |
Date :
15 เม.ย. 2551 12:23:45 |
By :
kinkop |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
.........mysql> insert into order value(0,502012340,20100105,1,1,'2008/10/5') ;.........
คำสั่ง order เป็นคำสงวนที่ใช้ในการเรียงลำดับข้อมูลเท่านั้น ถ้า order แล้ว ต้องต่อด้วย by เสมอ ไม่งั้น ERROR ครับ ...
|
 |
 |
 |
 |
Date :
16 เม.ย. 2551 12:53:41 |
By :
theboubman |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|