SQLserverÊý¾Ý²éѯ£¬¸ßÊÖ½øÀ´¿´ÏÂ
±àºÅ ¼¶±ð Ãû³Æ Éî¶È
1 0 ÐÂÎÅ 1
2 0 ²Æ¾ 1
3 1 ¾üÊ 2
4 2 ¹ÉƱ 3
5 0 ·¿²ú 1
6 1 Çé¸Ð 2
7 1 ¹úÄÚ 2
8 1 ¹ú¼Ê 2
14 2 ÓÊÕþµçÐÅ 2
15 2 »·±£ 2
16 5 ITÆóÒµ 2
17 5 Éú»îÓÃÆ· 2
18 5 ÓÎÏ·ÓëÍøÂç 2
19 2 ÄÜÔ´¹¤Òµ 2
20 2 »¯Ñ§¹¤Òµ 2
Ôõô°Ñ¸¸¼¶ÏÂÒ»¼¶µÄÄÚÈݸ÷²é³ö2Ìõ ÏÂÃæµÄÊÇ°ÑÈ«²¿¶¼²é³öÀ´µÄ£¡
±àºÅ ¼¶±ð Ãû³Æ Éî¶È
3 1 ¾üÊ 2
6 1 Çé¸Ð 2
7 1 ¹úÄÚ 2
8 1 ¹ú¼Ê 2
14 2 ÓÊÕþµçÐÅ 2
15 2 »·±£ 2
16 5 ITÆóÒµ 2
17 5 Éú»îÓÃÆ· 2
18 5 ÓÎÏ·ÓëÍøÂç 2
19 2 ÄÜÔ´¹¤Òµ 2
20 2 »¯Ñ§¹¤Òµ 2
SQL code:
/*
±êÌ⣺SQL SERVER 2000Öвéѯָ¶¨½Úµã¼°ÆäËùÓи¸½ÚµãµÄº¯Êý(±í¸ñÐÎʽÏÔʾ)
×÷Õߣº°®Ð¾õÂ޷ع»ª(Ê®°ËÄê·çÓê,ÊصñùɽѩÁ«»¨¿ª)
ʱ¼ä£º2008-05-12
µØµã£º¹ã¶«ÉîÛÚ
*/
create table tb(id varchar(3) , pid varchar(3) , name varchar(10))
insert into tb values('001' , null , '¹ã¶«Ê¡')
insert into tb values('002' , '001' , '¹ãÖÝÊÐ')
insert into tb values('003' , '001' , 'ÉîÛÚÊÐ')
insert into tb values('004' , '002' , '퓼')
insert into tb values('005' , '003' , 'ÂÞºþÇø')
insert into tb values('006' , '003' , '¸£ÌïÇø')
insert into tb values('007' , '003' , '±¦°²Çø')
insert into tb values('008' , '007' , 'Î÷ÏçÕò')
insert in
Ïà¹ØÎÊ´ð£º
Ҫת³ÉÒ»ÑùµÄЧ¹û£¬ÓÃpowerdesignerÔõôת£¿ÄÜתÂð£¿
create table publishers (
publisherID int identity,
publisherName varchar (30) NOT NULL,
constraint pk_publishers primary key (publisherID)
)& ......
ÓÐÈËÊÔ¹ýÔÚwin7ÉÏ°²×°sqlserverÂð£¿
Ìý˵sql2000×°²»ÉÏÈ¥£¬²»ÖªµÀÆäËû°æ±¾Ðв»ÐС£
ºÃÏñ²»ÐÐ,²»¼æÈÝ,ÉÏ´ÎÒ²ÓÐÈËÎʹýѽ
ºÇºÇ£¬ÓÐÍøÓÑÓÐÏà¹ØµÄ¾ÑéÂð£¿
Õâ¸ösqlserverÒª¾¡Á¿×°ÔÚwin7ÉÏ¡£
SQLSERVER 2000Ã ......
ÔÚÊý¾Ý¿âÖÐÈÕÆÚÈçÏÂÏÔʾ£º2009-2-27 9:40:47
Õâ¸ö²»ÊÇÎÒÏëÒªµÄ£¬ÎÒÐèÒªÔ·ݺÍʱ¼äÓÃÁ½Î»Êý±íʾ£¬ÉÏÃæµÄÓ¦¸Ãת»»Îª;2009-02-27 09:40:47
ÇëÎÊ
1¡¢ÈçºÎ¶ÔÏÖÓÐÈÕÆÚ½øÐÐת»»£¨Êý¾Ý¿âÖÐÒÑ´æÔÚÐí¶àÀàËƵÄÖµ£¬ÎÒÐèÒª½«Æä ......
ÈçºÎ½«SqlServerÊý¾Ý¿âÖеÄÊý¾Ýµ¼Èëµ½ExcelÖУ¿
ÓÃsql server ×Ô´øµÄ¹¤¾ß
ÒýÓÃ
ÓÃsql server ×Ô´øµÄ¹¤¾ß
SQL²éѯ·ÖÎöÆ÷
DTSµ¼Èëµ¼³öÊý¾Ý
¿ÉÒÔÓÃSqlServer×Ô´øµÄ¹¤¾ß
ËùÓÐÈÎÎñ£µ¼³öÊý¾Ý¡£
ÄãÏÈÓòéÑ ......
ÒÔÏ´úÂëÊÇÌí¼ÓÊý¾Ý°´Å¥µÄ´úÂ룬Ïë°Ñtestid£¬ºÍtestnameÁ½¸ötxt´«µÝµ½Êý¾Ý¿âÖÐ
Êý¾Ý¿âÁ¬½Ó¿Ï¶¨Ã»ÎÊÌâ
¾ÍÊǺìÉ«²¿·ÖÀϱ¨´í
²»ÖªµÀΪʲô-£¬-
Çë¸÷λ¸ßÈË°ïæ¿´¿´£¡
лл£¡
Java code:
private void new ......