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

¹ØÓÚSQLserverÁ¬½ÓµÄÎÊÌâ

  ÎÒ×°ÁËSQLserver2000¡¢SQLserver2005ÕâÁ½¸öÊý¾Ý¿â£¬ÔõôÁ¬½ÓÕâÁ½¸öÊý¾ÝÄØ£¿£¨¿ª·¢¹¤¾ßΪmyEclipse£©

  ÎÒÓÃJDBCÁ¬½ÓÉÏÁËSQLserver2005,¼ÓÈëÁËÈý¸öÇý¶¯°ü(Ìý˵ÕâÈý¸öÇý¶¯ÊÇÓÃÓÚÁ¬½ÓSQLserver2000µÄ)£¬Çý¶¯ÃûΪcom.microsoft.jdbc.sqlserver.SQLServerDriver£¬½á¹ûÁ¬½ÓÉÏÁË

Èç¹ûÎÒÏëÁ¬½ÓSQLserver2000ÔõôÁ¬ÄØ£¿Çý¶¯ÓÃʲô£¿

PS£º±¾È˳õѧÕߣ¬Çë½ÌÁ¬½ÓÊý¾Ý¿âÓм¸ÖÖ·½Ê½ÄØ£¿
2000 or 2005µÄÁ´½Ó¼Ü°ü£¬Ä㶼¿ÉÒÔֻʹÓÃSQL2005µÄÁ´½Ó¼Ü°ü£¬Ö»ÐèÒªÒ»¸ö¼´¿É£¡sqljdbc.jar

Çý¶¯²»Í¬£¬¼ÓÔØÇý¶¯Ê±Ò²ÓÐЩ²»Í¬£º
2005£º
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Á¬¿â×Ö·û´®"jdbc:sqlserver://localhost:1433;databaseName=**"
2000:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Á¬½Ó×Ö·û´®"jdbc:microsoft:sqlserver://localhost:1433;databaseName=**"

ͬʱ°²×°SQLserver2000¡¢SQLserver2005ÕâÁ½¸öÊý¾Ý¿âµÄʱºò£¬Òª×¢ÒâÁ½¸öÊý¾Ý¿âÊǵĶ˿ںŲ»ÄÜÏàͬ£¬
Çø·ÖSQLserver2000»¹ÊÇSQLserver2005
          JDBCÁ´½ÓSQLserverʱºò¿ÉÒÔ¸ù¾Ý¶Ë¿Ú²»Í¬À´Çø·Ö

2Â¥Õý½â£¡£¡£¡£¡£¡£¡

¸øµã·Ö°É
ÎÒ¶¥Äã
»Ø¸´ÄÚÈÝÌ«¶ÌÁË

2005£º
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
Á¬¿â×Ö·û´®"jdbc:sqlserver://localhost:1433;databaseName=**"


2000:
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
Á¬½


Ïà¹ØÎÊ´ð£º

sqlserverÈ«ÎÄË÷ÒýµÄÔ­Àí

ÎÒ¿´Á˺ܶàÎÄÕ£¬Ð´µÄ̫רҵ£¬Äܲ»ÄÜÓôó°×»°½²½²£¬¾ÍÊÇÔõô¹¹½¨Ë÷ÒýµÄ£¬²éµÄʱºòÊÇÔõôÑùµÄ²½Ö裬Ϊʲô±Èlike¿ì£¬ÊDz»ÊÇÖ»ÒªÓÃcontect£¬¾ÍÒ»¶¨»áÈ¥²é£¬±ÈÈç
select * from table where contect('sdfsd',sdf) and ......

Ö±½ÓµÄÎļþ±¸·ÝºÍÓÃsqlserverµÄ±¸·ÝÓÐʲôÇø±ð

sql serverÖ±½ÓµÄÎļþ±¸·ÝºÍÓÃsqlserverµÄ±¸·ÝÓÐʲôÇø±ð?
´ó¼Ò˵Ïêϸһµã

²»Ã÷°×~~~

Ö±½Ó±¸·ÝÎļþµÄÓõķÖÀëÊý¾ÝºÍ¸½¼ÓÊý¾Ý¿â
sqlserver±¸·ÝµÄÓõı¸·ÝÊý¾Ý¿âºÍ»¹Ô­Êý¾Ý¿â

Ö±½ÓÎļþ±¸·ÝÄãµÃÍ£·þÎñ»òÕßÍÑ ......

ÈçºÎ½«SqlServerÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½ExcelÖÐ

ÈçºÎ½«SqlServerÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½ExcelÖУ¿
ÓÃsql server ×Ô´øµÄ¹¤¾ß

ÒýÓÃ
ÓÃsql server ×Ô´øµÄ¹¤¾ß
SQL²éѯ·ÖÎöÆ÷

DTSµ¼Èëµ¼³öÊý¾Ý
¿ÉÒÔÓÃSqlServer×Ô´øµÄ¹¤¾ß

ËùÓÐÈÎÎñ£­µ¼³öÊý¾Ý¡£

ÄãÏÈÓòéÑ ......

ÈçºÎ½«SqlServerÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½ExcelÖУ¿

ÈçºÎ½«SqlServerÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½ExcelÖУ¿
Ñ¡ÔñÊý¾Ý¿â£¬µã»÷ÓÒ¼ü ÈÎÎñ->µ¼³öÊý¾Ý Ö®ºó°´ÕÕÌáʾµ¼³ö¾Í¿ÉÒÔÁË£¡

±í¶àµÄ»° ÓÃÂ¥Éϵķ½·¨ ±È½Ï·½±ã ¿ÉÒÔ°ÑÊý¾Ý¿âÀïÏàÓ¦µÄ±íµ¼³ö »òÕßÈç¹ûÄãÊDzéѯ³öÀ´µÄ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ