access Êý¾ÝÈçºÎµ¼Èëµ½SQLÖÐ Çë¸ø³öÏêϸ¹ý³Ì
access Êý¾ÝÈçºÎµ¼Èëµ½SQLÖÐ Çë¸ø³öÏêϸ¹ý³Ì £¬Ð»Ð»
Èç¹ûÖ»Êǵ¼Êý¾Ý,ʹÓÃDTS»òSSISµ¼Èë¼´¿É,ûʲôÏêϸ¹ý³Ì,°´ÕÕ½çÃæÒ»²½Ò»²½×ß¼´¿É.
DTS ²»ÊÇÖ»Ö§³Ö Îı¾¸ñʽÂð£¿
ÁíÍâÄã˵µÃÎÒ¶¼²»ÖªµÀÔÚÄÄÀïÆô¶¯£¬ËùÒÔÇë¸ø³öÏêϸ¹ý³Ì£¬ÎҼǵÃÒÔÇ°ÓиöÍⲿ¹¤¾ßÄÜʵÏÖ£¬²»¹ýÏÖÔÚ¶àÄêûÓÃÁË£¬Ò²ÕÒ²»µ½ÁË¡£
¾ÍÊǵ¼Èëµ¼³ö¹¤¾ß °²×°ÁËSQLÒÔºó¶¼ÓеÄ
dtsÊÇÒ»×鹤¾ßµÄ¼¯ºÏ °üÀ¨²»Í¬µÄÊý¾ÝÔ´Ö§³Ö Êý¾Ý²Ù×÷ ¾¯±¨ Á÷³Ì²Ù×÷ ÌáÐÑµÈ accessµ±È»Ò²ÊÇÊý¾ÝÔ´,dts¿ÉÒÔÖ§³Ö¼¸Ê®ÖÖ
ÎҼǵúܾÃÒÔÇ°¿´¹ýÒ»±¾sqlµÄÊé ×÷Õß˵Èç¹û΢Èí°Ñdtsµ¥¶ÀÄóöÀ´×öÈí¼þÂô ÏúÁ¿¿Ï¶¨±ÈsqlserverÒªºÃµÄ¶à
¹¤¾ß--Ïòµ¼--Êý¾Ýת»»·þÎñ sql2000
ÎÒûÓùý Ҳû¿´µ½ ÔÚÄÄÀïÆô¶¯£¿
ÎÒÓõÄÊÇSQL2005 ÎÒÕÒÁËûÓÐÄãËù˵µÄ¹¤¾ß£¬ÎÒÒ²ÖØа²×°sql È«²¿°²×°£¬ÌáʾûÓÐÐèÒªÉý¼¶µÄ×é¼þ£¬ÄÄÀïÄÜÕÒµ½ÄØ
ÕÒµ½ÁË Ð»Ð» dawugui
Ïà¹ØÎÊ´ð£º
СµÜÊǸöÐÂÊÖ ÏÖÔÚÓиöÎÊÌâÒ»Ö±²»Äܽâ¾ö
ÀýÈç
procedure produce_proc
@p001 nvarchar(8000),
@p002 nvarchar(8000),
@p003 nvarchar(8000),
& ......
½«Ò»¸ö±í21~30ɾ³ý£¬sqlÓï¾äÔõôд
Õâ¸öÌ«ÁýͳÁË£¬ÊÇÅÅÐòºóµÄµÚ21Ìõµ½30Ìõ¼Ç¼ɾ³ý»¹ÊÇijһÁÐÖµÔÚ21µ½30Ö®¼äµÄɾ³ý°¡£¿
21-30ÊÇʲôÒâ˼£¿×ֶεĻ°¾Ídelete from table1 where col1>=21 and col1<=30
Ö¸µ ......
access ÖÐÖ´ÐÐsql updateÓï¾äʱÓÐʱºò³É¹¦ÓÐʱºò²»³É¹¦£¬µ«ÊÇaccessÖв»³ö´íÎóÐÅÏ¢£¬²»ÖªµÀÊÇʲôÔÒò£¬ÓÐÄÄλ´óÏÀÖªµÀ£¬Çë°ïæ°¡
ÌùSQLÓï¾ä£¬¼ì²é±í¡¢×ֶεÄÓÐЧÐÔÉèÖÃ
sql ÔÚ²éѯ·ÖÎöÆ÷ÀïÃæ Ö´ÐкÜÕý³£
ÊÇ ......
select convert(varchar(50),cast(convert(numeric(18,2),1275674000000/100000000)as real))+'ÒÚ'
select cast(convert(numeric(18,2),1275674000000/100000000)as real)
ΪʲôÉÏÒ»¸öÓÃvarcharת»»ºó¾ÍÖ»±£ÁôÁËÒ ......
ÎÒÔÚÄ£¿éÀï×Ô¶¨ÒåÁËÒ»¸öº¯Êý:stradd()
¿ÉÊÇÔÚadoquery1.sql.add('select stradd(author) from book');
ʱÌáʾstradd䶨Òå...
Õâ¸öÎÊÌâÓÐʲô°ì·¨¿ÉÒÔ½â¾öµÄÂð? ·Ç³£¸Ð¼¤!
(ÔÚA ......