Çë½Ì£ºMSSQL´¥·¢Æ÷¿ÉÒÔ´¥·¢Ó¦ÓóÌÐòÄÚµÄʼþÂð£¿
MSSQL´¥·¢Æ÷¿ÉÒÔ´¥·¢Ó¦ÓóÌÐòÄÚµÄʼþÂð£¿ÎÒÏëÓÃc#¿ª·¢Ê±ÊµÊ±µÃµ½Êý¾Ý¿âÌí¼ÓÐ޸ĵÈʼþÐÅÏ¢£¬²»ÖªÄܲ»ÄÜÓÃÊý¾Ý¿âµÄ´¥·¢Æ÷£¬»¹ÊÇÐèÒªÓÃtimer×Ô¼º¶¨Ê±È¥¼ì²éÊý¾Ý¿â£¬Ð»Ð»´ó¼Ò£¡
ÐèÒªÕâô×öÂð£¿
¶¨Ê±Æ÷ÀÏÊÇÈ¥¼ì²éÒ²²»Ì«ºÃ°É£¬
´¥·¢Æ÷ÅäºÏÒ»¸ölog±í£¬×Ô¼º¶¨ÒåһЩstatus£¬È»ºó´¥·¢Ö®ºó²åÈëÔÚÕâ¸ö±íÀï
²»¹ýÍⲿ»¹ÊÇÒªÓÃtimerÀ´¼ì²éµÄ
ʵÔÚ²»ÐÐÖ»ÄÜÓÃTimerÁË£¬ËäÈ»²»ºÃ£¬µ«ÊǴ󲿷ֶ¼ÕâôÓã¬
²»¹ý£¬²»ÒªÌ«Æµ·±Å¶£¬·ñÔò»á¼ÓÖظºµ£µÄ£¬
Ìý˵SQL Server 2005ÓиöBrokeʲôµÄ£¬ºÃÏó¿ÉÒÔÍê³ÉÄã˵µÄ´¥·¢¹¦ÄÜ
Ïà¹ØÎÊ´ð£º
¹òÇó½«ÒÔϺ¯Êý·ÒëΪ mysql µÄÓï·¨
CREATE FUNCTION workdayadd(
@date datetime, --»ù´¡ÈÕÆÚ
@workday int --ÒªÔö¼ÓµÄ¹¤×÷ÈÕÊý
)RETURNS datetime
AS
BEGIN
DEC ......
oracle ͨ¹ýBDlink Á¬½Óµ½Ò»Ì¨MS SQL,²éѯ¶¼¿ÉÒÔ,µ«ÊDz»ÖªµÀÈçºÎÔÚoracleͨ¹ýDBLinkµ÷ÓÃMS SQLµÄ´æ´¢¹ý³Ì,Çó½â~лл~
ÒýÓÃ
oracle ͨ¹ýBDlink Á¬½Óµ½Ò»Ì¨MS SQL,²éѯ¶¼¿ÉÒÔ,µ«ÊDz»ÖªµÀÈçºÎÔÚoracleͨ¹ýDBLinkµ÷ÓÃM ......
´´½¨Á˼¸ÕÅ±í£¬ÆäÖÐÓÐÒ»ÕűíÊÇ¿Î³Ì±í£¬Àï±ß°üÀ¨£º¿Î³ÌºÅ£¨Ö÷Â룩£¬¿Î³ÌÃû£¬¿Îʱ£¬Ñ§·Ö¡£
ÏÖÔÚÏëÉè¼ÆÒ»¸ö´¥·¢Æ÷ʹ£¬×÷ÓÃÊÇÏÞÖÆ¿ªÉèµÄ¿Î³Ì×Üѧ·Ö±ØÐëÔÚ0µ½100Ö®¼ä
ÇëÎÊÕâ¸ö´¥·¢Æ÷¸ÃÔõôÉè¼Æ£¬Ð»Ð»¡£
²»Óô¥·¢Æ÷£¬Óà ......
select id,name,type from A union all
select id,name,type from B union all
select id,name,type from C union all where ???
----------------------------------------------------
......
СµÜÒªÓÃc# ×ö¸öС¹¤¾ß£¬¾ÍÊǸøÊý¾Ý¿âÖеıí¸ñÅúÁ¿²åÈëÊý¾Ý£¬ÎÒÏ뾡Á¿·ûºÏ±í½á¹¹¹ØϵµÄÊý¾Ý²åÈë½üÀ´£¬ ±ÈÈçÒª¿¼ÂÇÖ÷Í⽡µÈÐÅÏ¢£¬±È·½Ëµ ÓÐ a b c dÈý¸ö±í£¬¶øÎÒÈçºÎÔÚÊý¾Ý¿âÖÐÈ·ÈÏÖ÷¼üºÍÍâ¼ü£¬µ½µ×¸ÃÈçºÎÈ·ÈϲåÈë˳Р......