Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

PB10¡¢PB11Á¬½ÓSQLServer (תÔØ)

PB10¡¢PB11Á¬½ÓSQLServer¹Ø¼ü×Ö: pb10¡¢pb11Á¬½Ósqlserver (תÔØ)
PB10¡¢PB11Á¬½ÓSQLServer (תÔØ)
2007-11-02 22:27
´ÓPB10¿ªÊ¼£¬Ã»ÓÐÁËmssql serverרÓýӿÚÁË£¬ÁíÒ»·½ÃæÊý¾Ý¿â¹ÜÀíϵͳ(DBMS)
»»³ÉÁË¡°OLE DB¡±,ÅäÖÃÆðÀ´Óе㲻˳ÊÖ!ÏÂÃæ¾ÍÀ´½éÉÜpb10,Pb11ÖÐÓÃOLE DBÁ¬½Ó
sql 2000Êý¾Ý¿â¡£

ÔÚ°²×°pb10µÄʱºòÑ¡Ôñcustom/full·½Ê½°²×°(ĬÈϵݲװ·½Ê½²»»á°²×°ole db½Ó¿Ú),
next£­¡·Èç¹ûÄãûÓа²×°.netÔò²»ÒªÑ¡ÔñÁбíÖеÄADO.net....Ïһ·nextÍê³É°²×°¡£
ÔÚÊý¾Ý¿â»­°åÖÐÕÒµ½OLE microsoft OLE DBÏÔÚÆäÉÏÓÒ¼üн¨Ò»¸öÅäÖã¬ÔÚµ¯³öµÄÅä
Öô°¿ÚÖУº

profile name£ºÌîдÅäÖÃÎļþÃû //ÈÎÒâ¼´¿É

provider£ºÑ¡ÔñÊý¾Ý¿â¹ÜÀíϵͳÀàÐÍ£¬ÕâÀïÑ¡Ôñ¡°SQLOLEDB¡±Ïî

data source£º·þÎñÆ÷Ãû£¨ºÍ֮ǰµÄ°æ±¾²»Ì«Ò»Ñù£©¡£¿ÉÒÔÔÚÏÂÀ­ÁбíÖÐÑ¡Ôñ£¬Ò²¿ÉÒÔÌî
Èë·þÎñÆ÷Ãû»òIPµØÖ·È磺127.0.0.1µÈ¡£Èç¹ûÉÏÃæµÄprovider²»ÊÇ¡°SQLOLEDB¡±Ôò´ËÏÂÀ­
ÁбíÖпÉÄÜûÓÐÑ¡Ïî¡£

user ID£ºÓû§Ãû¡£ÎÒµÄÓû§ÃûÊÇĬÈϵÄsa

password£º¶ÔÓ¦ÉÏÃæuser IDµÄÃÜÂ룬ÎÒµÄÃÜÂëÊǿյģ¬ËùÒÔ²»Ìî¡£

µ½ÕâÀïÄã¾Í¿ÉÒÔ˳ÀûµÄÁ¬½Óµ½sql serverÁË¡£µ«ÊÇÁ¬½Óµ½ÄĸöÊý¾Ý¿âÄØ£¿ÉÏÃæµÄ²ÎÊý¶¼Ã»
ÓÐÖ¸Ã÷£¬ÎÒÒ²ÕÒÁË°ëÌì:P¡£²»Òª×ż±£¬ÔÚExtendedÀïÌîÈë ¡°database=Êý¾Ý¿âÃû¡± ¾Í¿ÉÒÔ
ÁË¡££¨²»ÒªÒýºÅ£©

×îºóµÄÅäÖÃÎļþÄÚÈÝΪ£º

// Profile his
SQLCA.DBMS = "OLE DB"
SQLCA.LogId = "sa" //ÎÒµÄÓû§ÃûÊÇsa
SQLCA.AutoCommit = False
SQLCA.DBParm = "PROVIDER='SQLOLEDB',DAT


Ïà¹ØÎÊ´ð£º

Çó½Ì ²é¿´SqlServerÖ´ÐйýµÄ´æ´¢¹ý³Ì״̬

ÔÚSqlServerÖÐÈçºÎ²é¿´ÀúÊ·ÉÏÖ´ÐеĴ洢¹ý³ÌµÄÐÅÏ¢ÄØ£¬È磺´«Èë²ÎÊý£¬Ö´ÐÐʱ¼äµÈµÈ¡£Èç¹û²»Äܲ鿴ÀúÊ·¼Ç¼£¬ÊÇ·ñ¿ÉÒÔ×Ô¼ºÐ´´¥·¢Æ÷Ö®ÀàµÄ£¬È˹¤¿ØÖÆÄØ£¬ÔÚOracleÀïÃæÓж¯Ì¬ÊÓͼ¿ÉÒÔËæʱ²é¿´ÀúÊ·Ö´ÐеÄsqlÓï¾ä£¬SqlSer ......

sqlserver¶Ôij¸ö±í²Ù×÷¼Ó¸öÓû§

sqlserver,Èç¹û¼Ó¸öÓû§,ȨÏÞÊǶÁËùÓÐ±í£¬µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ
ûÕâ¸ö˵·¨.

Ö»¸øSELECT ,

UPDATEµÄÖ»¸øijЩ±í

¸ö²»»á

µ«Ö»ÄÜÐÞ¸Äij¸ö±íµÄ×Ö¶ÎÊôÐÔ Õâ¸öÄѸã

Òª¼ÓȨÏÞµÃÕë¶Ôij¸öÊý¾Ý¿â
......

ado·ÃÎÊÔ¶³ÌÊý¾Ý¿â(Ô¶³Ì·ÃÎÊsqlserver)

ÊÇÕâÑùµÄ£¬ÎÒÓÃÊÇODBCÊý¾ÝÔ´Á¬½Ó·þÎñÆ÷µÄÊý¾Ý¿â£¬ÏÖÔÚÎÒ¾õµÃºÜÂé·³£¬ÒòΪҪΪÿÈç»úÌí¼Ó¶ÔÓ¦µÄÊý¾ÝÔ´£¬Ïë°ÑËû¸Ä³ÉADO·½·¨À´·ÃÎÊ·þÎñÆ÷µÄÊý¾Ý¿âÄÜʵÏÖÂð£¿ÒªÔõôд¡£
±ÈÈç·þÎñÆ÷ÀïÓжþ¸öÊý¾Ý¿âdata1 ºÍdata2£¬¿Í»§ ......

Çóc#²Ù×÷sqlserverÊý¾Ý¿âÎÊÌâ

ÔÚÊý¾Ý¿âÖÐÓÐÕÅ±í£¬ÓÐid,nameÁ½ÁУ¬id ÊÇÖ÷¼ü,ûÓÐÉèÖÃ×ÔÔöÊôÐÔ,ÔÚ³ÌÐòÖÐÈ¡³öÕâÕűí·ÅÈëdatatable£¬ÔÚÕâ¸ödatatableÖвåÈëÒ»Ìõ¼Ç¼£¬µ±¸üÐÂÊý¾Ý¿âʱÌáʾidÁв»ÄÜΪ¿Õ£¬ÇëÎʸÃÔõô½â¾ö£¿
¸øËüÒ»¸öÖµ£¡£¡Ö÷¼ü²»ÄÜΪ¿Õ ......

sqlserverÊý¾Ý¿âÀúÊ·Êý¾Ý·ÖÀë

ÇëÎʸßÊÖ

¼¸ÄêÊý¾ÝÀÝÔÚÒ»ÆðµÄÊý¾Ý¿â£¬ÔõÑù·ÖÀë³ö×îºóÄÇÄêµÄÊý¾ÝÉú³ÉÒ»¸öеÄÊý¾Ý¿â?

°ÑÇ°¼¸ÄêµÄÀúÊ·Êý¾Ý°þÀë³öÀ´ÄØ£¿
ÀïÃæÈç¹ûÓÐʱ¼ä×ֶεĻ°£¬±È½ÏºÃ´¦Àí¡£
½¨Á¢Ò»¸öÊý¾Ý¿â£¬È»ºóµ¼Èëµ¼³ö£¬ÔÚµ¼È ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ