mysql ɾ³ýÎÊÌâ
¸Õ½Ó´¥oracle £¬
mysql> select * from qo_modules t where t.id=24;
+----+--------+---------+------+-------------+------------+----------+--------+--------------+-----------+
| id | author | version | url | description | moduleType | moduleId | active | loadOnDemand | sortOrder |
+----+--------+---------+------+-------------+------------+----------+--------+--------------+-----------+
| 24 | NULL | NULL | NULL | haha | et | NULL | NULL | NULL | NULL |
+----+--------+---------+------+-------------+------------+----------+--------+--------------+-----------+
1 row in set
mysql> delete qo_modules t where t.id=24;
1064 - 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 'where t.id=24' at line 1
mysql> delete from qo_modules t where t.id=24;
1064 - 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 't where t.id=24' at line 1
mysql>
ÇëÎÊÕâÊÇɶÔÒò£¿£¿oracle϶¼¿ÉÒÔÕâÑùɾ³ýµÄ°¡¡£¡£
°ïÄã¶¥ÏÂ
delete t from qo_modules t where t.id=24;
û°ì·¨£¬MYSQLµÄÓï·¨ÏÞÖÆ£¬Èç¹ûÄãÖ¸¶¨Á˱ðÃûÔòÐèÒªÔÚdelete ºó˵Ã÷Õâ¸ö±ðÃû¡£ »òÕßÄ
Ïà¹ØÎÊ´ð£º
ÎÒÏÖÔÚѧϰMYSQL£¬ÎÊÏÂmysql´¢´æ¹ý³ÌÈçºÎ½¨Á¢ºÍʹÓã¬×îºÃд³É$sql="sqlÓï¾ä",$re=mysql_query($sql);лл
½¨ÒéÄãÏÈ×Ô¼º¿´Ò»ÏÂÎĵµÖеÄÀý×Ó¡£
http://dev.mysql.com/doc/refman/5.1/zh/stored-pro ......
ÎÒÒÔǰ°²×°ÁËÒ»´Î£¬ºóÀ´Ð¶ÔØÁË£¬ÏÖÔÚÔÙ°²×°µÄʱºò£¬Ìáʾ´íÎó£ºError 1305.Error reading from file C:DOCUME~1\LOCALS~1\Temp\mysql_server.msi.Verify that the file exists and that you can access it.
¿ÉÊÇÎÒÕÒ ......
Õâ¸öÊÓÆµ½²µÄºÜÏêϸ, ¶ÔÐÂÊַdz£ÓÐÓÃ, »ù±¾ÉÏÒ»¿´¾Í¶®
ÓÉÓÚÌ«´óÁË(50m, ÎÒÖ»ÄÜÉÏ´«20m), ÎÒÉÏ´«²»ÁË, Ö»ºÃÌù³öÏÂÔØµØÖ·
ÏÂÔØµØÖ·: http://ftel1.3800hk.com/0807/080720djxnzj.rar
ºÃ¶«Î÷,ϸö¿´¿´
......
ÇëÎÊÏÂÄܲ»ÄÜÔÙwindows϶¨ÆÚÇå¿ÕmysqlÒ»¸ö±íÖеÄÈ«²¿Êý¾Ý£¬ÓÃPHPʵÏÖ£¡
лл¸÷λÁË
¾Í±ÈÈçÒ»¸öÐÇÆÚÇå¿ÕÒ»´Î
±ÈÈçÿ¸öÐÇÆÚÁùÁãµãÇå¿ÕÒ»´Î£¡
ллÁË
¼Æ»®ÈÎÎñ...php....sql...truncate....OK
Äã¾ÍÕâ½ÓÔÚҳà ......
mysql>create book(
->id varchar(20) not null,g
->
ÒÔÉÏÊÇÔÚmysqlÃüÁîÐÐÀïµÄ²Ù×÷
ÔÚÉÏÃæÖÐÎÒÔÚµ¹ÊýµÚ¶þÐжà´òÁËÒ»¸ö×ÖĸgÈ»ºó°´Á˻سµ¼ü£¬ÇëÎÊ´Óµ¹ÊýµÚÒ»ÐÐÔõô ......