mysql¶¨Ê±±¸·ÝûÓÐЧ¹û
Ò»¶¨Òª×Ô¶¯±¸·Ý,²»ÊÇÈ˹¤µÄÄÇÖÖ.ҪʵÏÖ30Ãë´Ómanagerµ½copyµÄ¸´ÖÆ,manager×ֶν϶à,½ö¸´ÖÆ3¸ö×Ö¶Î
´´½¨±¸·Ý±í:
create table copy(
v_student1ID varchar(50) primary key not null,
v_hostIP varchar(15),
d_updateTime datetime);
¶¨Ê±¸´ÖÆ:
create event myevent on schedule every 30 second
starts current_timestamp
do
insert into copy(v_student1ID,v_hostIP,d_updateTime)
select v_studentID,v_hostIP, d_updateTime from manager;
Õâ¸ö´úÂë´Ó½á¹û¿´Ã»ÓÐÖ´ÐÐ,µ«Ò²Ã»±¨´í.
SQL code:
create event myevent on schedule every 30 second
starts current_timestamp
do
insert into copy(v_student1ID,v_hostIP,d_updateTime)
select v_studentID,v_hostIP, d_updateTime from manager
where v_studentID not in (select v_studentID from copy) ;
¼ÓÉÏwhere v_studentID not in (select v_studentID from copy)
·ñÔòÄã»áÖ÷¼ü³åÍ»£¡
×òÌìÄãÔÚȺÖÐÒѾÎʹýÁË¡£
copy±íÀïÃæÖ÷¼üÊÇv_student1ID
manager±íÖýÖ÷¼üÊÇv_studentID
ÕâôÇÉ,ÄãÒ²ÔÚÕâ¸öȺÀïÃæ,ÊÇÄã»Ø´ðµÄô×òÌì
SQL code:
create event myevent on schedule every 30 second
starts current_timestamp
do
insert into copy(v_student1ID,v_hostIP,d_updateTime)
select v_student
Ïà¹ØÎÊ´ð£º
Winform+MySQL×öÏîÄ¿£¬ÔÚ×¢ÖØÐÔÄܵÄÇé¿öÏ£¬ÎÒ¸ÃÈçºÎÈ¥Íê³ÉÕâÀàÐ͵ÄÏîÄ¿ÄØ£¡
Çë¸÷λ¸øÒÔÌáʾ¡£
ÄãÕâ¸ö·¶Î§Ì«¹ãÁË£¬ÎÒ˵2µãÖØÒªµÄ°É
1.WINFORM³ÌÐòÊǵ¥¶ÀÔËÐеÄCS³ÌÐò£¬ºÍBS²»Í¬£¬BSµÄѹÁ¦Ê¼ÖÕ¶¼ÔÚSERVERÉϵ쬶ÔC ......
ÎÒÒÔǰ°²×°ÁËÒ»´Î£¬ºóÀ´Ð¶ÔØÁË£¬ÏÖÔÚÔÙ°²×°µÄʱºò£¬Ìáʾ´íÎó£º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.
¿ ......
»·¾³£ºwin2003 apache2 resin3 php5 mysql5
mysql´íÎóÀï³öÏÖÕâ¸ö£¬·þÎñÆ÷Ö±½ÓËÀµ½ÄÇÀï¡£
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_log ......
ÔÚÈýÊ®½²Óöµ½ÕâÑùÒ»¸öÎÊÌâ¾ÍÊÇÔËÐдúÂëʱ³öÏÖ´íÎó Fatal error: Call to undefined method mysql::fetch_array() in D:\WWW\news\index.php on line 12
£¬ÎÒ°Ñmysql::fetch_array() ¸Ä³Émysql::fetch_row() ÓÖ³öÏÖF ......
ÎÒ¶ÔSQL SERVERºÍACCESS±È½ÏÊ죬ËùÒÔÊý¾Ý¿âµÄͨÓûù´¡¶«Î÷¿ÉÒÔ˵¶¼ÕÆÎյIJ¶àÁË£¬ÎÒÏÖÔÚÏëÒªµÄ¾ÍÊÇÒÔÉÏÁ½Êý¾Ý¿âµÄ¶ÀÌØÖ®´¦µÄ½éÉܺÍÓ¦ÓýéÉÜ¡£
ÁíÍâÊé×îºÃ¶ÔÓ¦×îа汾 oracleÊÇ11g°É 10µÄÒ²ÐУ»mysqlÊÇ5.1°É
л ......