Access Êý¾ÝÉýǨµ½ SQLServer2005
ÎÒÔ±¾ÊÇÓÃACCESSµÄÊý¾Ý¿â£¬ÏÖÔÚ¸ÄÓÃSQLServer2005ÁË£¬ËùÒÔÏë°Ñ֮ǰµÄÊý¾ÝÈ«¶¼µ¼µ½SQLSERVERÀïÀ´¡£ ÏÖÓÐÎÊÌâÈçÏ£º 1:¸ÄÓÃSQLserverºó£¬Êý¾Ý¿âµÄ½á¹¹ÓиĶ¯¡£Ô±¾ÔÚaccessÖÐËùÓеĵ¥¾ÝÓÃÒ»¸ö¡°µ¥¾ÝÐÅÏ¢¡±Ö÷±íºÍÒ»¸ö¡°µ¥¾ÝÃ÷ϸ¡±´Ó±íÀ´´æ´¢£¬SQLSERVERÖзֳÉÁË¡°·¢»õµ¥¾Ý¡±¡¢¡°·¢»õµ¥¾ÝÃ÷ϸ¡±¡¢¡°Èë¿âµ¥¾Ý¡±¡¢¡°Èë¿âµ¥¾ÝÃ÷ϸ¡±==¡£×ܵÄÀ´Ëµ¾ÍÊÇ°ÑaccessÖеÄÒ»¸ö±íÔÚSQLSERVERÖвð·Ö³ÉÁ˼¸¸ö±í¡£ÔÚACCESSÖÐÊÇͨ¹ýÒ»¸öµ¥¾ÝÀàÐÍ×Ö¶ÎÀ´Çø·Öµ¥¾ÝµÄ¡£ 2£ºÖ÷±íµÄÖ÷¼üÊÇÒ»¸ö¡°×Ô¶¯±àºÅ¡±ÀàÐ͵ġ°µ¥¾Ý±àºÅ¡±×ֶΣ¬´Ó±íÖеġ°µ¥¾Ý±àºÅ¡±ÓëÆä¹ØÁª¡£Õâ¸öÔÚµ¼ÈëSQLSERVERµÄ¹ý³ÌÖÐÓ¦¸ÃÔõô´¦Àí?ÊDz»ÊÇÓ¦¸ÃÔÚµ¼ÈëµÄ¹ý³ÌÖж¯Ì¬µÄ»ñÈ¡Ö÷±íÖмǼµÄ¡°×Ô¶¯±àºÅ¡±£¬ÔÙµ¼ÈëÃ÷ϸʱдÈëÏàÓ¦µÄ×ֶΣ¿ 3£º»¹ÓиöÎÊÌâ¾ÍÊÇ£¬SQLSERVERÖеıí±ÈACCESSÖеıíÀ©³äÁËЩ×ֶΡ£±ÈÈç: ACCESS: ÈËÎï±í£º ÐÕÃû¡¢ÄêÁä¡¢ÐÔ±ð SQLSERVER: ÈËÎï±í£º ÐÕÃû¡¢Éí¸ß¡¢ÌåÖØ¡¢ÄêÁ䡢ѧÀú¡¢ÐÔ±ð¡¢ÈËÆ·¡¢°®ºÃ Ò²¾ÍÊÇ˵ACCESSÖÐÓеģ¬SQLSERVERÖж¼ÓУ¬µ«SQLSERVERÖжàÁËЩ×ֶΣ¬²¢ÇÒ´òÂÒÁËÔÀ´×ֶεÄ˳Ðò£¬ÒòΪÓвåÈëµÄÏÖÏó¡£ Õâ¸öÓ¦¸ÃÊÇÓô洢¹ý³ÌÀ´×ö°É£¿Ç뾡Á¿ËµµÄÏêϸЩ£¬SQLÓï¾ä×îºÃÓб¸×¢¡£ ÁíÍ⻹ÓÐʲôÐèÒªÎÒÌṩµÄÐÅÏ¢ÇëÖ¸³ö¡£ лл
ÓÃÊý¾Ýµ¼Èëµ¼³ö¿ÉÒÔ½â¾ö1ºÍ3¡£Ð´ÏàÓ¦µÄ²éѯÓï¾ä¾Í¿ÉÒÔÁË¡£ dts ´´½¨ SSIS °ü½øÐÐÊý¾Ý³éÈ¡¡¢×ª»»¡¢×°ÔØ£¨ETL£©¡£ÒýÓà 1.µ¼Êý¾Ý¿ÉÒÔÓÃSQL×Ô´øµÄ¹¤¾ß¡£ 2.¹ØÓÚÖ÷ÖØ±í£¬Èç¹û²»Ïë¸ÄÔÓеijÌÐò£¬×îºÃÓÃÔÓеĽøÐйØÁª£¬·ñÔòÖØÐÂÖسɹØÁª¡£ 3.¹ØÓÚµÚÈý¸öÎÊÌ⣬½¨ÒéдÔÚ´æ´¢¹ý
Ïà¹ØÎÊ´ð£º
<?php include("adodb/adodb.inc.php"); $db = &NewADOConnection("access"); $access = realpath("Data.mdb"); $dsn = "Provider=Microsoft.J ......
´úÂ룺 try{ Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver"); con= DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost: ......
strSQLCmd.Format(_T("select * from (select * from talk_info where %s ='%s') where %s ='%s'"), strVar,strValue,strVar2,strValue2); ÇëÎÊÕâÓï¾äÓÐÎÊÌâÂð ûÓÐÎÊÌâ¡£ ......
н¨µ¥Îĵµ³ÌÐòÑ¡ÔñODBCÖеÄÊý¾ÝԴʱ×ÜÊǵ¯³öÒ»¸öµÇ¼´°¿ÚÒªÊÚȨ¡£¡£¡£»¹ÒªÃÜÂë¡£¡£¡£ ÆäËûµÄµ÷ÓÃODBCÖеÄÊý¾ÝÔ´ÊǾͲ»ÐèÒªÕâ¸ö£¬¿ÉÒÔÔËÐС£ ŪÁ˺ó¤Ê±¼äÁË¡£¡£¡£ ûÓö¼û¹ý£¬¿ ......