SQL SERVER ͼ±íÊý¾Ý¿â
ͼ±í
ͼ±í(ÓֳƹØϵͼ)ÊÇSQL ServerÖÐÒ»ÀàÌØÊâµÄÊý¾Ý¿â¶ÔÏó£¬ËüÌṩ¸øÓû§Ö±¹ÛµØ¹ÜÀíÊý¾Ý¿â±íµÄ·½·¨¡£Í¨¹ýͼ±í£¬Óû§¿ÉÒÔÖ±¹ÛµØ´´½¨¡¢±à¼Êý¾Ý¿â±íÖ®¼äµÄ¹Øϵ£¬Ò²¿ÉÒÔ±à¼±í¼°ÆäÁеÄÊôÐÔ¡£ÀûÓÃÆóÒµ¹ÜÀíÆ÷´´½¨Í¼±íµÄ¾ßÌå²½ÖèÈçÏ£º
(1)ÔÚÆóÒµ¹ÜÀíÆ÷ÖУ¬Õ¹¿ªÖ¸¶¨µÄ·þÎñÆ÷ºÍÊý¾Ý¿â£¬´ò¿ªÒª½¨Á¢µÄͼ±íËùÔÚµÄÊý¾Ý¿â£¬ÓÒ»÷ͼ±íͼ±ê£¬´Óµ¯³öµÄ²Ëµ¥ÖÐÑ¡Ôñ“н¨Í¼±í”¡£
(2)µ¥»÷“ÏÂÒ»²½”£¬ÔÚ³öÏֵĶԻ°¿òÖÐÑ¡Ôñ“×Ô¶¯Ìí¼ÓÏà¹ØµÄ±í”Ñ¡ÏÔòµ±Ìí¼ÓÒ»¸ö±íµ½Í¼±íÖÐʱ£¬ÏµÍ³×Ô¶¯½«ÓëÆäÓйØÁªµÄ±íÌí¼Óµ½Í¼±íÖС£
(3)µ¥»÷“ÏÂÒ»²½”£¬Ôò»á³öÏÖ½áÊøͼ±í´´½¨¶Ô»°¿ò£¬ÆäÖÐÁгöÁ˼´½«ÓÃÓÚ´´½¨Í¼±íµÄÊý¾Ý¿â±í¡£
(4)µ¥»÷“Íê³É”£¬³öÏÖ±à¼Í¼±í¶Ô»°¿ò£¬ÔڸöԻ°¿òÖУ¬´´½¨±íÖ®¼äµÄ¹ØϵÌرð¼ò±ã£¬Ö»Ðè´ÓÖ÷±íÖÐÑ¡Ôñ¹Ø¼ü×ֶΣ¬È»ºóÔÚ°´×¡Êó±êÓÒ¼üµÄͬʱÍ϶¯Êó±ê£¬½«ÆäÒƵ½´Ó±íµÄÏàÓ¦×Ö¶ÎÉÏ£¬ËÉ¿ªÊó±ê¼´¿É¡£
(5)µ¥»÷¹¤¾ßÀ¸Öеē±£´æ”£¬¼´¿É±£´æ¸Ãͼ±í¡£´Ëʱ£¬ÔÚÆóÒµ¹ÜÀíÆ÷ÖУ¬ÓұߵÄÒ³¿òÖм´»á³öÏÖ¸Ãͼ±í¶ÔÏó¡£
(6)ÓÒ»÷ijһͼ±í¶ÔÏ󣬴ӵ¯³öµÄ²Ëµ¥ÖÐÑ¡Ôñ“Éè¼Æͼ±í”£¬¼´»á³öÏÖͼ±í±à¼¶Ô»°¿ò£¬¸Ã¶Ô»°¿òÓëͼ±í´´½¨¶Ô»°¿òÀàËÆ£¬ÔÚÆäÖпÉÒÔ±à¼Í¼±í¶ÔÏó£¬Ò²¿ÉÒÔ±à¼ÏàÓ¦µÄ±í¼°Æä×ֶΡ¢Ë÷Òý¡¢Ô¼ÊøºÍÆäËûÊôÐԵȵȡ£
 ,RAID0Êý¾Ý»Ö¸´;
Ïà¹ØµÄÖ÷ÌâÎÄÕ£º
SQLSERVERÓû§È¨ÏÞ¹ÜÀíÊý¾Ý¿â
³¤´ºÊÐÁúæ乫˾ SEAGATE 500G ²»ÈÏÅÌ Êý¾Ý»Ö¸´³É¹¦
Ïà¹ØÎĵµ£º
--sqlserver 2000
SELECT ±íÃû=case when a.colorder=1 then d.name else '' end,
--×Ö¶ÎÐòºÅ=a.colorder,
×Ö¶ÎÃû=a.name,
--
±êʶ=case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end,
/**/
Ö÷¼ü=case when exists(SELECT 1 from sysobjects where xtype='PK' and name
in ( ......
ÔÚOracleÖУ¬Èç¹ûÔÚsqlÖгöÏÖ'&'·ûºÅ£¬»á±»×Ô¶¯×ªÒ壻
¶ø±»ÒªÇóÊäÈëÔÚ&·ûºÅºó¸úËæµÄ×Ö·û´®µÄÖµ£¬ÀýÈ磺
update tablename set columnName='http://www.g.cn/cv2.jsp?spid=222&cid=333';
Ö´ÐÐÕâ¸ö²Ù×÷ʱ£¬Oracle»áÌáʾ
Enter value for cid:
ÔÒòÊÇÔÚOracleÖÐ & ·ûºÅÊÇ×÷ΪתÒå×Ö·ûʹÓõġ£
½â¾ö·½·¨ ......
excelµ¼ÈëSQLʱÌáʾ"Êý¾Ý¶ÔÓÚËùÖ¸¶¨µÄ»º³åÇøÀ´½²Ì«´ó"
ÒÔÏÂÄÚÈÝת×Ô[CSDN]
×î½ü´¦ÀíexcelÊý¾Ýµ¼Èëµ½Sql ServerÖУ¬Ê§°Ü£¬±¨´íÈçÏ £º
×÷ΪԴÁÐ3£¨“²úƷ˵Ã÷”£©µÄÊý¾Ý¶ÔÓÚËùÖ¸¶¨µÄ»º³åÇøÀ´½²Ì«´ó ¡£
ÎÒµÄexcelÎļþÖÐÓÐÒ»ÁнГ²úƷ˵Ã÷”£¬¾ÍÊÇһЩÎÄ×Ö¡£Sql
server´¦Àíµ¼excelÊý¾ ......
$$$Ϊÿ½ÚµÄ¿ªÊ¼
-------------------------------------------------------------------------------------------------------------------------------------------------
$$$ SQLÖÐϵͳÁÙʱ±íµÄʹÓúͽû¼É ¼° Exec(SQLScript) µÄʹÓÃ
ÒÔÇ°ÔÚSQL ÖÐдSP ʱ£¬Èç±È½Ï¸´ÔÓʱ£¬Ï²»¶ÖмäʹÓÃÁÙʱ±íÀ´ÔÝ´æÏà¹Ø¼Ç¼£¬ÕâÑùµÄ ......
´¥·¢Æ÷
´¥·¢Æ÷ÊÇÒ»ÖÖÌØÊâÀàÐ͵Ĵ洢¹ý³Ì£¬Ëü²»Í¬Ç°Ãæ½éÉܹýµÄ´æ´¢¹ý³Ì¡£´¥·¢Æ÷Ö÷ÒªÊÇͨ¹ýʼþ½øÐд¥·¢¶ø±»Ö´Ðеģ¬¶ø´æ´¢¹ý³Ì¿ÉÒÔͨ¹ý´æ´¢¹ý³ÌÃû³Æ¶ø±»Ö±½Óµ÷Óᣴ¥·¢Æ÷ÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄ¹¤¾ß£¬Ëüʹÿ¸öÕ¾µã¿ÉÒÔÔÚÓÐÊý¾ÝÐÞ¸Äʱ×Ô¶¯Ç¿ÖÆÖ´ÐÐÆäÒµÎñ¹æÔò¡£´¥·¢Æ÷¿ÉÒÔÓÃÓÚSQL ServerÔ¼Êø¡¢Ä¬ÈÏÖµºÍ¹æÔòµÄÍêÕûÐÔ¼ì²é¡£
µ±Íùijһ ......