ÓÐÒ»¸ö±íTB1µÄ½á¹¹ÈçÏÂ(ÆäÖÐAAA+CCCÊÇÖ÷¼ü, AAA+BBBÊÇÔ¼ÊøË÷Òý):
AAA BBB CCC DDD
----------------------------------------------------
DA10058159 , 0 , 1 , A1
DA10058159 , 1 , 2 , A9
DA10058159 , 2 , 3 , M3
DA10058159 , 3 , 4 , C3
DA10058159 , 4 , 5 , C5
DA10058159 , 5 , 6 , C7
DA10058159 , 6 , 7 , C9
DA10058159 , 7 , 8 , D1
DA10058159 , 8 , 9 ,&n
£¨1£©string ConnString = "server=localhost;integrated security=sspi;database=pubs;";
£¨2£©string strConnection="user uid=sa;pwd=123456;Database=test;Server=test;Connect ......
ÎÒÓжà¸ö±íA B C ½á¹¹ÊÇÒ»ÑùµÄ£¬¶¼ÓÐ2¸ö×Ö¶ÎnameºÍcontent,ÎÒÒªËÑË÷ËùÒÔ±íËùÓÐ×Ö¶ÎÖаüº¬¡°Öйú¡±µÄÄÚÈÝ Õâ¸öSQLÓï¾äÔõôд
ÈçºÎ½«¶à¸ö±íµÄ²éѯ½á¹ûÁ¬³ÉÒ»¸ö±í Õâ¸öSQLÓï¾äÔõôд ±íµÄ½á¹¹ÊÇÒ»ÑùµÄ
ÀýÈç£ ......
ÒòΪƽʱÕâÖÖ²Ù×÷±È½Ï¶à£¬Ö±½ÓÔÚÊý¾Ý¿âÉÏÊÖ¶¯ÉèÖÃΣÏÕÐԽϴó£¬ËùÒÔÏëÓÃSQLÓï¾äʵÏÖ¡£
ÔÚÍøÉÏʵÔÚËѲ»µ½½á¹û£¬ÕâÀï¸ßÊֶ࣬ϣÍûÄܵõ½´ð°¸¡£
лл¡£
ÄãÏëÔõ麼設ÖÃ?
SQL code:
--´´½¨²âÊÔ±í
......