¡m¤À¨É¡nExcel 2007»s§@¥i¿é¤J°Ñ¼ÆªºSQL Query¬d¸ß¤u¨ã | |
¦b¤½¥q¬Ý¨ì«e½ú¯d¤U¨ÓªºExcel¬d¸ßSQL¤u¨ã¡A
¹ï©ó¨ä¥i¿é¤J°Ñ¼Æ¨Ó¶i¦æ¤¬°Ê¦¡¬d¸ß¡AÁ`ı±o¬Û·í¦n¥Î¡I
¦ý¦Û¤v¹Á¸Õ¥h²£¥Í³o¼Ë¤@Ó³øªí¤u¨ã¡A«o¬O«ç»ò¼Ë¤]°µ¤£¥X¨Ó...
§ä¤F¦n´XÓ§«ô¡AÁ`ºâ¦b³o¤@½g¤å³¹¤¤§ä¨ì»s§@ªº¤èªk¡ã
¥´¶}Excel 2007¡A©ó¸ê®Æ->±q¨ä¥¦¨Ó·½¤¤¡A¿ï¾Ü±qMicrosoft Query¡C
©ó¸ê®Æ®w¨Ó·½¤¤¡A¿ï<·s¸ê®Æ®w¨Ó·½>¡C
µM«á¿ïSQL Server¡C
µM«á¿é¤JSQL ServerªºIP¤Î³s¤Jªº±b¸¹±K½X¨Ó¶i¦æ³sµ²¡C
¶¶¤l´ú¸Õ®Éµo²{¡A¦b¶¶¤l¥»¾÷Ä骺SQL Express¡A
n§ï¿ï¥ÎSQL Server Native Client 10.0ªºÅX°Êµ{¦¡¤~¯à¶¶§Q³sµ²¡C
³sµ²¦¨¥\«á¡A·|n¨D¿ï¾Ü¨Ï¥Îªºªí®æ¡A
¹w³]ªí®æºØÃþ¹ê¦b¤Ó¦h¡A§ÚÌ¥i¥H³z¹L¿ï¶µ¡AµM«á¥u¤Ä¿ïªí®æ¨Ó²¤Æ¥i¿ï¥Î¤§¸ê®Æªí¡C
¦b³oӥܽd®×¨Ò¤¤¡A§ÚÌ´N¿ï¾Ü¥_·¸ê®Æ®wªºEmployees¸ê®Æªí§a¡C
¿ï¾Ü¦n¸ê®Æªí«á¡A«ö¤USQL«ö¶s¡A§Ú̦ۤv¨ÓקïSQL»yªk¡A¼´¥X©Ò¦³Employeesªº¸ê®Æ¡C
«ö¤U½T©w¡A·|¥X²{¤@ÓSQL QueryµLªk¥H¹Ï§Îªí¥Üªº°T®§¡C
¶â¡A°µ´N¹ï¤F¡I
±µ¤U¨Ó¡An¥[°Ñ¼ÆªºÃöÁä¨BÆJ¨ì¤F¡I
©ó·Ç«h¤¤¡A«ö¤U·s¼W·Ç«h¨Ó¼W¥[¤@ӰѼơC
¦b·s¼W·Ç«hªº³¡¤À¡AÁ`p¥i¥H¯d¥Õ¡A
Äæ¦ì´N¿ïn¶i¦æ±ø¥ó¹LÂoªºÄæ¦ì¡A
¹Bºâ¤l´N¨Ì»Ý¨D¨Ó¿ï¾Ü¡AµM«á¦bȪº³¡¤À¿é¤J[ ]¡A
¥H¥»¨Ò¨Ó»¡¡A¶¶¤l¥´ºâ¹ïCountry³oÓÄæ¦ì¨Ó¶i¦æ±ø¥ó¹LÂo¡C
³oÓ³¡¥÷¬OÃöÁä¡A¤@©wn¦bȪºÄæ¦ì¿é¤J[ ]¤~¦æ¡C
«ö¤U½T©w«á¡A´N·|¦h¥X³oÓ·Ç«hÄæ¦ìªº°Ï¶ô¡C
µM«á§ÚÌ´N¥i¥H§âQuery¤º®e¶Ç¦^Excel¤F¡ã
¤@«ö¤U±N¸ê®Æ¶Ç¦^Excel¡A´N·|¥X²{¤@Ó¡§¿é¤J°Ñ¼ÆÈ¡¨ªº°T®§¡A
§O²z¥¦¡A§Ṳ́@¼Ë¯d¥Õ«ö¤U½T©w¡C
±µ¤U¨ÓExcel´N·|¸ß°Ý§ÚÌ¡A¶×¥Xªº¸ê®Æ¤º®en©ñþùØ¡H
¥Ñ©ó¶¶¤l¥´ºâ¦b²Ä¤@¦C¡A©ñ¸m¤@Ó¥i¿é¤J°Ñ¼ÆªºÄæ¦ì¡A
©Ò¥H´N§â¶×¥X¤º®e±q²Ä¤T¦C¶}©l©ñ§a¡ã
±µµÛ·|¥X²{¤@Ó¿é¤J°Ñ¼ÆȪº¹ï¸Ü®Ø¡C
´N§â¥¦©ñ¦b²Ä¤@¦CªºBÄæ§a¡C
µM«á¤Ä¿ï¦¹Äæ¦ì¼ÆȦ³²§°Ê®É¡A´N¥D°Ê¶i¦æ§ó·s¡C
§ÚÌ¥i¥H¦b²Ä¤@¦C²ÄAÄ檺Àx¦s®æ¿é¤J¡§°ê®a¡¨¡A¥H«K§ÚÌÃѧO¡C
Å禬ªº®ÉÔ¨ì¤F¡A·í§Ú̦b²Ä¤@¦CªºBÄæùØ¿é¤JUSA®É¡A¸ê®Æ¤º®e´N·|¦Û°Ê¼´¨úCountry¬°USAªº¸ê®Æ¡C
·í§Ú̦b²Ä¤@¦CªºBÄæ§ï¿é¤JUK®É¡A¸ê®Æ¤º®e´N·|¦Û°Ê¼´¨úCountryµ¥©óUKªº¸ê®Æ¡C
¬d¸ßªí®æ«Ø¥ß§¹¦¨«á¡AY§ÚÌ»Ýnקï¸ê®Æ®w¤º®e¡BSQL»yªk©Î¬O¼W´î°Ñ¼Æ¡A
«h¥i¥H¨ì¸ê®Æªº³s½u³]©w¤¤¨Ó¶i¦æקï¡C
³oӬݦü²³æ«o¤S¤£Â²³æªº¥i°Ñ¼Æ¤Æ¤¬°Ê¦¡¬d¸ßÁ`ºâ§¹¦¨Åo¡ã
|
|
♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã
If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!
|