mysqlºÍmssqlÓÐʲôÇø±ð£¿ËûÁ©ÊDz»ÊÇÒ»¸ö¶«Î÷£¿
²»ÊÇÒ»¸ö³§¼ÒµÄÊý¾Ý¿â²úÆ·¡¡
µÚ¶þ¸ö×Öĸ²»Ò»Ñù
ËûÃǶ¼ÊÇDBMS£¬Êý¾Ý¿â¹ÜÀíϵͳ£¬Ö»ÊÇÁ½¸ö²»Í¬¹«Ë¾£¨»ò×éÖ¯£©µÄ²úÆ·¡£
MSSQL¹ËÃû˼Òå¾ÍÊÇ΢Èí¹«Ë¾µÄ²úÆ·£¬È«³ÆMicrosoft SQL Server
MySQLµÄ×ܲ¿ÉèÔÚÈðµä,MySQL AB ÊǶÀÁ¢µÄ¹«Ë¾
Ò»×ÖÖ®²î~~
mssql ÊÇ΢ÈíµÄ ......
´ÓÍøÉÏ¿´Á˺ܲ»ÉÙÕâ·½ÃæµÄ˵·¨£¬¶ÔÎÒÀ´ËµÓô¦²»ÊǺܴó¡£ÏÖÔÚ½«Ò»¸ösql serverµÄÊý¾Ý¿âÀïµÄÊý¾Ýµ¼Èëµ½mysqlÖУ¬ÀïÃæµÄ×Ö¶ÎÓÐËù¸Ä¶¯µÄ¡£×Ô¼ºÐ´ÁËÒ»¸öµ¼ÈëµÄ²»ÊǺÜÀíÏ룬ÀÏÊǶªÊý¾Ý£¬²»ÖªµÀÊÇʲôÔÒò£¬»¹Íû¸ßÊÖûָµã°¡£¡
ÓÃphpд³ÌÐòµ¼Èë°É£¡ÕâÑù¾Í²»»áÓÐÊý¾Ý¶ªÊ§ÁË£¬Ö»ÊÇËٶȻáÂýµã¡£
ÎÒµ½ÊÇÓÃPHPдÁËÒ»¸ö£¬µ«ÊDz»ÊǺÜÀ ......
ͨ¹ýODBC½¨Á¢ÎļþDSN£¬²âÊÔʱ±¨¾¯£ºcan't connect to mysql sercer on '192.168.12.101' (10061).
ÊDz»ÊÇÒªÏÂÔØMYSQLÊý¾Ý¿â£¬²»ÄÜÓÃMSSQLÊý¾Ý¿â£¿
mssql-> microsoft sql
mysqlÓÃmysqlconnection
ÒýÓÃ
mysqlÓÃmysqlconnection
ÒýÓÃ
mssql-> microsoft sql
......
ExcelÖ÷ÒªÊÇÈý¸ö×Ö¶Î:firstname, familyname, age
Êý¾Ý¿âµÄ±í STU Ò²°üº¬Èý¸ö×Ö¶Î:firstname, familyname, age
ÎÒÏëÒª:ÔÚÒ»¸öaspxÒ³ÃæÖеã»÷Ò»¸ö°´Å¥"µ¼ÈëExcelÊý¾Ý",µ¯³öÑ¡ÔñÎļþµÄ¶Ô»°¿ò,È»ºóÑ¡Ôñij¸öxlsÎļþ,½«Õâ¸öÎļþµÄÊý¾Ý±£´æµÄÊý¾Ý¿â(SQL SERVER05ºÍMysql5.1)µÄ±íSTUÖÐ.
ÇëÎÊÕ¦¸öʵÏÖ?
° ......
ÒÔÏÂÊÇÎÒMSSQLµÄ´¢´æ¹ý³Ì£¬Ï£Íû¸ßÊÖÄÜ°ïÎÒת»»Îª Mysql µÄ´¢´æ¹ý³ÌллÁË£¡ »òÕß´ó¼ÒÓÐû¼û¹ýÕâÀàÐ͵ÄÈí¼þ°¡£¡
set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go
ALTER procedure [dbo].[ST_ClientBIll] @SheetId varchar(20), @Flag int
as
begin
......
²»ÖªµÀÓÐûÓз½·¨Äܹ»²»ÓÃÑ»·¶ø°Ñ·þÎñÆ÷ÉϵÄÊý¾Ý¶ÁÈ¡µ½¿Í»§¶Ë±¾µØµÄACCESSÀïÄØ£¿
±¾µØACCESSµÄÊý¾Ý±í½á¹¹ºÍ·þÎñÆ÷MSSQLÉϵÄÊý¾Ý±í½á¹¹ÊÇÒ»ÑùµÄ¡£
openrowset »ò opendatasource
Ó¦¸Ã¿ÉÒÔд³ÌÐòʵÏÖÅú´¦Àí£¡
ÓÃÕâ¸ö¶«Î÷¿ÉÒÔ¿ìËٵİÑÊý¾Ý´ÓÊý¾Ý¿âÖÐŪµ½±¾µØ²»¹ý¾ÍÊÇ¿Í»§¶ËÒªÓÐACCESS
AccessApplicationÕâ¸ö¿Ø ......