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

ʵÀýÃû (SQL Server Express)

ʹÓà Microsoft SQL Server °²×°Ïòµ¼µÄ"ʵÀýÃû"Ò³£¬¿ÉÖ¸¶¨´´½¨Ä¬ÈÏʵÀý»¹ÊÇ´´½¨ SQL Server Express ÃüÃûʵÀý¡£³ý·ÇÄúÑ¡ÔñĬÈÏʵÀý£¬·ñÔò SQL Server Express ½«Ê¼ÖÕ°²×°ÃüÃûʵÀý (SQLExpress)¡£´ËÐÐΪÓë SQL Server 2005 ²»Í¬£¬ºóÕßÔÚδѡÔñÃüÃûʵÀýµÄÇé¿öÏ£¬½«Ê¼ÖÕ°²×°Ä¬ÈÏʵÀý¡£
 Ñ¡Ïî
Ñ¡Ïî
˵Ã÷
ĬÈÏʵÀý
Èç¹ûÑ¡Ôñ"ĬÈÏʵÀý"£¬¶ø¼ÆËã»úÉÏÒѾ­´æÔÚĬÈÏʵÀý£¬Ôò SQL Server °²×°³ÌÐò½«Éý¼¶¸ÃĬÈÏʵÀý¡£ÇëÑ¡Ôñ´ËÑ¡ÏîÀ´°²×° SQL Server Express µÄĬÈÏʵÀý¡£Ò»Ì¨¼ÆËã»úÖ»ÄܳÐÔØÒ»¸öĬÈÏʵÀý¡£
×¢Ò⣺ĬÈÏʵÀýÃûΪ MSSQLSERVER£»Ëü²»ÐèÒª¿Í»§¶ËÖ¸¶¨ÊµÀýÃû³Æ¼´¿É½¨Á¢Á¬½Ó¡£
ÈôÒªÉý¼¶ÔçÆÚ SQL Server °²×°µÄĬÈÏʵÀý£¬Çëµ¥»÷"ĬÈÏʵÀý"£¬È»ºóµ¥»÷"ÏÂÒ»²½"¡£
ÃüÃûʵÀý
ÔËÐÐ SQL Server Express ʱ£¬Ä¬ÈÏÇé¿öϽ«Ñ¡ÖÐÒÑÃüÃûµÄʵÀýÑ¡Ï²¢ÇÒʵÀýÃûΪ SQLExpress¡£
ÇëÑ¡Ôñ´ËÑ¡ÏîÀ´´´½¨ÐÂÃüÃûʵÀý¡£ÃüÃû SQL Server ʵÀýʱ£¬Ç뿼ÂÇÒÔÏÂÊÂÏ
ʵÀýÃû²»Çø·Ö´óСд¡£
ʵÀýÃû²»ÄÜ°üº¬ Default¡¢MSSQLServer »òÆäËû±£Áô¹Ø¼ü×Ö¡£Èç¹ûÔÚʵÀýÃûÖÐʹÓÃÁ˱£Áô¹Ø¼ü×Ö£¬Ôò½«·¢Éú´íÎó¡£
ʵÀýÃûÏÞÖÆΪ 16 ¸ö×Ö·û¡£
ʵÀýÃûµÄÊ××Ö·û±ØÐëÊÇ×Öĸ»òÏ»®Ïß (_)¡£¿É½ÓÊܵÄ×ÖĸΪ Unicode ±ê×¼ 2.0 Öж¨ÒåµÄ×Ö·û£¬°üÀ¨À­¶¡×Ö·û a-z ºÍ A-Z£¬ÒÔ¼°Ô´ÓÚÆäËûÓïÑÔµÄ×Öĸ×Ö·û¡£
ºóÐø×Ö·û¿ÉÒÔÊÇ Unicode ±ê×¼ 2.0 ¶¨ÒåµÄ×Öĸ¡¢Ô´ÓÚ»ù±¾À­¶¡Óï»òÆäËû¹ú¼Ò/µØÇøÊéд·ûºÅµÄÊ®½øÖÆÊý×Ö¡¢ÃÀÔª·ûºÅ ($) »òÕßÏ»®Ïß (_)¡£
ʵÀýÃûÖв»ÔÊÐíÓÐÆäËûÌØÊâ×Ö·ûµÄǶÈë¿Õ¸ñ£»Ò²²»ÔÊÐíÓз´Ð±¸Ü (\)¡¢¶ººÅ (,)¡¢Ã°ºÅ (:)¡¢·ÖºÅ (;)¡¢µ¥ÒýºÅ (')¡¢"and"·û (&)¡¢Êý×Ö·ûºÅ (#) »ò"at"·ûºÅ (@)¡£
×¢Ò⣺ֻÓÐÔÚµ±Ç° Microsoft Windows ´úÂëÒ³ÖÐÓÐЧµÄ×Ö·û²ÅÄÜÔÚ SQL Server ʵÀýÃûÖÐʹÓá£Èç¹ûʹÓÃÁ˲»Ö§³ÖµÄ Unicode ×Ö·û£¬½«»á·¢Éú´íÎó¡£
ÒÑ°²×°µÄʵÀý
ʹÓà SQL Server °²×°Ïòµ¼µÄ"ÒÑ°²×°µÄʵÀý"Ò³£¬¿ÉÒԲ鿴ÔËÐÐ SQL Server °²×°³ÌÐòµÄ¼ÆËã»úÉÏÒÑ°²×°µÄ SQL Server Express ʵÀýºÍ×é¼þÁÐ±í¡£"ÒÑ°²×°ÊµÀýµÄÏêϸÐÅÏ¢"´°¸ñÏÔʾÒÑ°²×°ÊµÀýµÄÉý¼¶Ñ¡Ïî¡£ÈôҪѡÔñÓûÉý¼¶µÄ×é¼þ»òʵÀý£¬Çëµ¥»÷ʵÀýÃû£¬È»ºóµ¥»÷"È·¶¨"¡£


Ïà¹ØÎĵµ£º

SQL ³£Óú¯Êý ±Ê¼Ç Garin Zhang

SQL³£Óú¯Êý£º
1. ASCII()£º·µ»Ø×Ö·û´®×î×ó¶Ë×Ö·ûµÄASCIIÂë¡£
2. CHAR()£º½«ASCIIת»»³É×Ö·û¡£(0~255)
3. LOWER()ºÍUPPER()¡£
4. STR()£º°ÑÊýÖµÐÍÊý¾Ýת»»Îª×Ö·ûÐÍÊý¾Ý
    SRT(<float_expression>[,length[,<decimal>]])
LTRIM()°Ñ×Ö·û´®Í·²¿¿Õ¸ñÈ¥µô£¬RTRIM()°Ñ×Ö·û´®Î²¿Õ¸ñÈ¥µô¡£
È¡× ......

sql´æ´¢¹ý³Ì

±¾ÎÄ´Ó¶à¸ö½Ç¶È²ûÊöÁËSQL ServerÓë´æ´¢¹ý³ÌµÄ±È½Ï¡£
¢ÙΪʲôҪʹÓô洢¹ý³Ì£¿
ÒòΪËü±ÈSQLÓï¾äÖ´Ðп졣
¢Ú´æ´¢¹ý³ÌÊÇʲô?
°ÑÒ»¶ÑSQLÓï¾äÂÞÔÚÒ»Æð,»¹¿ÉÒÔ¸ù¾ÝÌõ¼þÖ´Ðв»Í¨SQLÓï¾ä¡£
¢ÛÀ´Ò»¸ö×î¼òµ¥µÄ´æ´¢¹ý³Ì£º
CREATE PROCEDURE dbo.testProcedure_AX
AS
select userID from
 USERS order by userid ......

Éî¶È¶Ô±ÈOracleÓëSQL Server——µÚÒ»²¿·Ö

²Ù×÷ϵͳµÄÖ§³Ö °æ±¾ºÍ·¢Ðаæ ʵÀý¡¢Êý¾Ý¿âºÍ±í¿Õ¼ä ʵÀýÃûºÍSID ϵͳÊý¾Ý¿âºÍϵͳ±í¿Õ¼ä
Ò»°ãµÄ¹«Ë¾Í¨³£»áÔÚËûÃǵÄÐÅϢϵͳ¼Ü¹¹ÖÐÒýÈë¶àÖÖÊý¾Ý¿âƽ̨£¬Í¬Ê±ÒýÈëÈýµ½ËÄÖÖ²»Í¬µÄRDBMS½â¾ö·½°¸µÄÖдóÐ͹«Ë¾Ò²²¢²»ÉÙ¼û£¬µ±È»ÕâЩ¹«Ë¾ÀïÃæµÄDBAÃÇͨ³£Ò²ÐèҪͬʱӵÓйÜÀí¶àÖÖ²»Í¬Æ½Ì¨µÄ¼¼ÄÜÁË¡£
Ö»ÔÚÒ»ÖÖƽ̨ÉÏÕ¹¿ª¹¤×÷µÄÊý¾Ý ......

SQL ServerµÄϵͳ±í¼°ÆäÓ¦ÓÃÑо¿


¡¡¡¡1. SQL ServerµÄϵͳ±í
¡¡¡¡MicrosoftµÄSQL ServerÊÇÒ»¸ö¿ÉÉìËõµÄ¸ßÐÔÄÜÊý¾Ý¿â¹ÜÀíϵͳ£¬×¨Îª·Ö²¼Ê½¿Í»§»ú/·þ
ÎñÆ÷»·¾³¶øÉè¼Æ£¬SQL Server¼¸ºõ½«ËùÓеÄÅäÖÃÐÅÏ¢¡¢°²È«ÐÔÐÅÏ¢ºÍ¶ÔÏóÐÅÏ¢¶¼´æ´¢ÔÚÁËËü×Ô
ÉíµÄϵͳ±íÖУ¬¶øϵͳ±í´æÔÚÓÚÿ¸ö¶ÀÁ¢µÄÊý¾Ý¿âÖУ¬´æ´¢Ò»¸öÌض¨Êý¾Ý¿â¶ÔÏóÐÅÏ¢µÄϵͳ±í
ͨ³£³ÆΪÊý¾Ý¿âĿ¼£¬M ......

ÇÉÓÃSQL PIVOTʵÏÖ»·¾³¼à²âÊý¾ÝµÄ¡°Êúºá¡±×ª»»


Ë®»·¾³¼à²âÊý¾Ý´æ´¢½á¹¹ÖÐÓÐÒ»ÖÖģʽ½Ð×ö"Êú±íģʽ"£¬¼´ÔÚ¼à²âÊý¾Ý±íÖУ¬Ä³¸öµãλÔÚij¸öʱ¼äµãÉϸ÷¼à²âÏîÄ¿µÄŨ¶È²â¶¨ÖµÔÚÎïÀí±íÖд洢ÔÚ¶àÌõ¼Ç¼ÖУ¬³ÊÊú×´·Ö²¼¡£¼à²âÊý¾Ý±íÖаüº¬²âµã´úÂë¡¢¼à²âʱ¼ä¡¢¼à²âÏîÄ¿´úÂ롢Ũ¶È²â¶¨ÖµµÈ£¬ËùÓмà²âÏîÄ¿µÄŨ¶È²â¶¨Öµ¶¼´æ´¢ÔÚͬһ¸ö×Ö¶ÎÖУ¬¼ÓÒÔ¼à²âÏîÄ¿´úÂë×÷ΪÇø·Ö×ֶΡ£
"Êú ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ