ÕâÊÇÎÒÔÀ´Á¬½ÓSQLµÄ´òÓ¡µÄ´úÂë
Connection1.Open "Provider=MSDataShape.1;Persist Security Info=True;Data Source=mm;User ID=sa;Password=sa;Initial Catalog=lc-liuh2;Data Provider=SQLOLEDB.1"ÊÇ¿ÉÒÔµÄ
ÏÖÔÚÏë¸Ä³ÉÁ¬½ÓORACLE
Connection1.Open "Provider=MSDataShape.1;Persist Security In ......
VBÓÐûÓÐÀàËÆÏñJDBCµÄ·½·¨»òÕßÊÇÖмä¼þÁ¬½ÓORACLEÊý¾Ý¿â£¬ÍøÉϵĸ÷ÖÖÀý×Ó¶¼ÐèÒª°²×°¿Í»§¶Ë£¬»òÕßÊÇÅäÊý¾ÝÔ´¡£
ûÓÐÆäËû·½·¨£¬Äã±ØÐëÒª°²×°Çý¶¯µÄ
ORACLEÊý¾Ý¿âÊÇ»ùÓÚ°²È«ÐԵĿ¼ÂÇ,¿Í»§¶Ë¶¼ÐèÒª°²×°,ºÃÏóûÓбðµÄ°ì·¨
Êý¾Ý¿â±ØÐë°²×°µÄ£¬°²×°ÒÔºó»áÔÚVBÁ¬½ÓÊý¾Ý¿âʱÌṩÁ´½ÓµÄ
»»ÁËÒ»¸ö˼· ÓÃJDBC½â¾öÁË£¡¸Ðл¸÷Î ......
ÈçºÎ½«oracle±íת»»³ÉAccess±í»òÎı¾Îļþ
´ó¸ç¼±°¡¡£¡£
¿´ÄãÓÃʲô¹¤¾ß¡£ÓÃtoadÖ®ÀàµÄµ¼³ö¿ÉÒÔÑ¡Ôñµ¼³ö¸ñʽ¡£
ÓÃsqlplus¿ÉÒÔspool
·½·¨ºÜ¶à.
¿ÉÒÔÓÃpl/sql developer°Ñ±í±£´æΪexcel,ÔÙ°Ñexcelµ¼Èëµ½access.Ò²¿ÉÒÔÅäÖøöodbc,È»ºóÖ±½ÓÔÚaccessÖÐÒýÓÃoracleµÄÊý¾Ý.
ת»»³Éaccess ÊÇÂÒÂëÔõô°ì?
......
ÄÜ·ñÓÃÓï¾äʵÏÖ¡£¶ø²»ÊÇÏֳɵŤ¾ß£¿
Â¥ÉϵÄÐֵܿÉÒÔÏêϸһЩÂð£¿
×£Äã½ÚÈÕ¿ìÀÖ£¡¹þ¹þ
½ÚÈÕ¿ìÀÖ
SQL code:
Ò». µ¼³ö¹¤¾ß exp
1. ËüÊDzÙ×÷ϵͳÏÂÒ»¸ö¿ÉÖ´ÐеÄÎļþ ´æ·ÅĿ¼/ORACLE_HOME/bin
expµ¼³ö¹¤¾ß½«Êý¾Ý¿âÖÐÊý¾Ý±¸·ÝѹËõ³ÉÒ»¸ö¶þ½øÖÆϵͳÎļþ.¿ÉÒÔÔÚ²»Í¬OS¼äǨÒÆ
ËüÓÐÈýÖÖģʽ£º
......
--oracle ´¥·¢Æ÷£¬×ª sqlserver ÎÊÌâ
CREATE OR REPLACE TRIGGER TG_BU_TSTK_IMPORTITEM
BEFORE UPDATE ON TSTK_IMPORTITEM
FOR EACH ROW
DECLARE
VAR_LIBGOODCOUNT NUMERIC(12,2);
BEGIN
---ÔÚOracle ÊÇÓÐ:new. ´ú±íÊÇеÄÖµ£¬ :old ´ú±íÊǾɵÄÖµ£¬ ÎÒÀûÓÃÕâÁ½¸öÊýÀ´¸ü¸ÄÁíÍâÒ»¸öÊýÁ¿
---Çë ......
Èç¹ûÒ»¸ö³ÌÐòÏëÖ§³ÖsqlserverÓëoracleÊý¾Ý¿âµÄ»°¡£³ýÁËdbhelperÀàÐèÒª¸Ä±äÖ®Í⣬²ÎÊý´«µÝÒ²ÊǸöÎÊÌâ¡£
sqlserverµÄ²ÎÊýǰ׺ÊÇ ¡°@¡±£¬¶øoracleÊÇ ¡°:¡±
ÇëÎÊÓÐûÓÐʲôͨÓýâ¾ö·½·¨£¿ÎÒ²»ÏëÒ»¸öselectдÁ½´Î...
×Ô¼ºÐ´¸ö¸ü»»²éѯ×Ö·û´®µÄ·½·¨£¬È»ºóÔÚ¸ü¾ÝÁ¬½ÓµÄÊý¾Ý¿â×öÆ¥Åä²»¾ÃºÃÁË£¿£¿
´úÂë¾Í²»Ð´À²£¬Ï ......