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

MS SQL Êý¾Ý¿â±¸·ÝºÍ»¹Ô­µÄ¼¸ÖÖ·½·¨


Ò»¡¢Í¨¹ýÆóÒµ¹ÜÀíÆ÷½øÐе¥¸öÊý¾Ý¿â±¸·Ý¡£´ò¿ªSQL SERVER ÆóÒµ¹ÜÀíÆ÷£¬Õ¹¿ªSQL SERVER×éLOCALϵÄÊý¾Ý¿â£¬ÓÒ¼üµã»÷ÄãÒª±¸·ÝµÄÊý¾Ý¿â£¬ÔÚµ¯³öµÄ²Ëµ¥ÖÐÑ¡ÔñËùÓÐÈÎÎñϵı¸·ÝÊý¾Ý¿â£¬µ¯³ö±¸·ÝÊý¾Ý¿â¶Ô»°¿ò£º
µã»÷Ìí¼Ó°´Å¥£¬Ìîд±¸·ÝÎļþµÄ·¾¶ºÍÎļþÃû£¬µã»÷È·¶¨Ìí¼Ó±¸·ÝÎļþ£¬µã»÷±¸·Ý¶Ô»°¿òÉϵı¸·Ý£¬¿ªÊ¼½øÐб¸·Ý¡£
 
¶þ¡¢Í¨¹ýÆóÒµ¹ÜÀíÆ÷¶àÊý¾Ý¶¨Ê±¿â±¸·Ý¡£´ò¿ªSQL SERVER ÆóÒµ¹ÜÀíÆ÷£¬Õ¹¿ªSQL SERVER×éϵĹÜÀí½Úµã£¬ÓÒ¼üµ¥»÷Êý¾Ý¿âά»¤¼Æ»®£¬Ñ¡Ôñн¨Î¬»¤¼Æ»®¡£ÔÚµ¯³öµÄ»¶Ó­¶Ô»°¿òÖÐÑ¡ÔñÏÂÒ»²½£¬È»ºóÏÔʾÈç϶Ի°¿ò£º
 
Ñ¡ÔñÄãÏëÒª±¸·ÝµÄÊý¾Ý¿â£¬ÏÂÒ»²½¡£ÔÚ½ÓÏÂÀ´µÄÒ»²½ÖУ¬ÎÒÃÇĬÈÏËùÓÐÑ¡ÏÏÂÒ»²½¡£ÔÚµ±Ç°¶Ô»°¿òÖпÉÒÔÑ¡ÔñÊÇ·ñ¼ì²éÊý¾Ý¿âµÄÍêÕûÐÔ£¬ÕâÀïÎÒÃÇĬÈϾͿÉÒÔ½øÐÐÏÂÒ»²½¾ÍÐÐÁË¡£¶Ô»°¿òÈëͼËùʾ£º
 
Ñ¡ÖÐ×÷Ϊά»¤¼Æ»®µÄÒ»²¿·ÖÀ´±¸·ÝÊý¾Ý¿â£¬µã»÷¸ü¸Ä°´Å¥Ð޸ı¸·ÝÊý¾Ý¿âµÄʱ¼ä£¬µ¥»÷ÏÂÒ»²½£¬ÈëÏÂͼ£º
ÔÚÕâÀÎÒÃÇ¿ÉÒÔÑ¡Ôñ“ʹÓôËĿ¼”Ϊ±¸·ÝÖ¸¶¨Â·¾¶£¬Ñ¡ÖГɾ³ýÔçÓÚ´Ëʱ¼äµÄÎļþ”¿ÉÒÔÖ¸¶¨±¸·ÝÎļþµÄ±£Áôʱ¼ä¡£
 
ÏÂÃæµÄ¼¸¸ö²½ÖèÎÒÃǶ¼Ñ¡ÔñĬÈÏÉèÖã¬×îºóÔÚÍê³É¶Ô»°¿òÀïΪ±¸·ÝÆðÒ»¸öÃû×Ö£¬µã»÷Íê³Éºó£¬Êý¾Ý¿â»áÔÚÄãÖ¸¶¨µÄʱ¼ä½øÐб¸·Ý¡£¹ØÓÚÊý¾Ý¿âά»¤¼Æ»®µÄ¸ü¶à֪ʶÇë²é¿´ÆäËüÏà¹Ø×ÊÁÏ¡£
Èý¡¢±¸·ÝÊý¾Ý¿âÎļþ¡£´ò¿ªSQL SERVER ÆóÒµ¹ÜÀíÆ÷£¬Õ¹¿ªSQL SERVER×éLOCALϵÄÊý¾Ý¿â£¬ÓÒ¼üµã»÷ÄãÒª±¸·ÝµÄÊý¾Ý¿â£¬Ñ¡ÔñÊôÐÔ¡£ÔÚµ¯³öµÄ¶Ô»°¿òÖÐÑ¡ÔñÊý¾ÝÎļþ£¬ÔÚÕâÀïÏÔʾÁËÊý¾ÝÎļþµÄ·¾¶£¬ÈçÏÂͼ£º
´ò¿ªSQL SERVER ·þÎñ¹ÜÀíÆ÷£¬½«SQL SERVER Í£Ö¹¡£È»ºó´ò¿ªÎҵĵçÄÔ£¬ÕÒµ½Êý¾ÝÎļþ·¾¶£¬½«Æ俽±´³öÀ´½øÐб¸·Ý£¨×¢Òâͬʱ±¸·Ý.LDFÎļþ£©¡£
×îºó¿ªÆôSQL SERVER·þÎñ
 
ËÄ¡¢»Ø¸´Êý¾Ý¿â±¸·ÝÎļþ£¨ÊÊÓÃÓÚÓÃÆóÒµ¹ÜÀíÆ÷±¸·ÝµÄÊý¾Ý¿â£©¡£´ò¿ªSQL SERVER ÆóÒµ¹ÜÀíÆ÷£¬Õ¹¿ªSQL SERVER×éLOCALϵÄÊý¾Ý¿â£¬ÓÒ¼üµã»÷ÄãÒª»¹Ô­µÄÊý¾Ý¿â£¬Ñ¡ÔñËùÓÐÈÎÎñϵĻ¹Ô­Êý¾Ý¿â£¬µ¯³öÈç϶Ի°¿ò£º
Ñ¡Ôñ´ÓÉ豸£¬µã»÷Ñ¡ÔñÉ豸£¬Îª»¹Ô­Ìí¼Ó±¸·ÝÎļþ·¾¶£¬È»ºó½øÐÐÈ·¶¨»¹Ô­¡£
 
Îå¡¢»¹Ô­Êý¾Ý¿â±¸·ÝÎļþ¡£ÔÚÆóÒµ¹ÜÀíÆ÷ÖжÔÊý¾Ý¿â½ÚµãÓÒ¼üµ¥»÷£¬Ñ¡ÔñËùÓÐÈÎÎñϵĸ½¼ÓÊý¾Ý¿â£¬µ¯³ö¸½¼ÓÊý¾Ý¿â¶Ô»°¿ò¡£ÈçÏÂͼ£º
Ñ¡ÔñÒ»¸öÄã֮ǰ¿½±´µÄÊý¾ÝÎļþ£¬È»ºóµã»÷È·¶¨¼´¿É¸½¼Ó³É¹¦£¨×¢£ºÈç¹ûÊý¾Ý¿âÒѾ­´æÔÚ£¬Çëɾ³ýÊý¾Ý¿âºóÔÚ¶ÔÆä½øÐи½¼Ó£©¡£


Ïà¹ØÎĵµ£º

SQL SERVER 2005°²×°Íê³Éºó·þÎñºÍ×é¼þ½éÉÜ

SQL SERVER ·þÎñ
SQL Server Analysis Services £ºÎªÉÌÒµÖÇÄÜÓ¦ÓóÌÐòÌṩÁª»ú·ÖÎö´¦Àí(OLAP)ºÍÊý¾ÝÍÚ¾ò¹¦ÄÜ(ºËÐÄ·þÎñ)¡£
SQL Server Browser£º½« SQL Server Á¬½ÓÐÅÏ¢Ìṩ¸ø¿Í»§¶Ë¼ÆËã»ú
SQL Server FullText Search£º¿ìËÙ´´½¨½á¹¹»¯ºÍ°ë½á¹¹»¯Êý¾ÝµÄÄÚÈݺÍÊôÐÔ
SQL Server VSS Writer£ºÌṩͨ¹ý Windows VSS »ù´¡½á¹¹ ......

sqlµãµÎ

×Ó±í²éѯ£¬¸¸±íÒ»¶¨Òª¼Ó±ðÃû£¬·ñÔòÊý¾Ý»áÓÐÎÊÌ⣬²»±¨±àÒë´í
select * from table1 a where exist(select 1 from table2 where a.id=b.id)
´æ´¢¹ý³Ì½á¹û¼¯²åÈëµ½ÏÖÓбí
insert into table1 exec procname args
ÁªºÏÒÑÓÐ±í£¬½ô¸úÔÚºóÃ棬¶Ô»ã×ܺÜÓÐÓÃ
select a from table1 union all select 'ºÏ¼Æ'
½á¹û¼¯ÀïµÄij ......

ÈçºÎ¿ªÆôSQL CLR

 ÈçºÎ¿ªÆôSQL CLR
 
¿ªÆôSQL CLRÓÐÁ½²½²Ù×÷£¬ÈçÏÂËùʾ£º
1.       ¿ªÆôSQLCLR£¬ÔÚsql server2005ÖÐÖ´ÐÐÈçϽű¾£¬¿ªÆôSQL CLR¹¦ÄÜ
EXEC sp_configure 'show advanced options' , '1';
go
reconfigure;
go
EXEC sp_configure 'clr enabled' , '1'
go
reconfigure;
-- Tu ......

ÉîÈëdz³öoracleËø Ô­Àíƪ & Í£Ö¹ÎÞ·´Ó¦µÄsql»á»°

ÔÚÏÖ´úµÄ¶àÓû§¶àÈÎÎñϵͳÖУ¬±ØÈ»»á³öÏÖ¶à¸öÓû§Í¬Ê±·ÃÎʹ²ÏíµÄij¸ö¶ÔÏó£¬Õâ¸ö¶ÔÏó¿ÉÄÜÊÇ±í£¬ÐУ¬»òÕßÄÚ´æ½á¹¹£¬ÎªÁ˽â¾ö¶à¸öÓû§²¢·¢ÐÔ·ÃÎÊ´øÀ´µÄÊý¾ÝµÄ°²È«ÐÔ£¬ÍêÕûÐÔ¼°Ò»ÖÂÐÔÎÊÌ⣬±ØÐëÒªÓÐÒ»ÖÖ»úÖÆ£¬À´Ê¹¶ÔÕâЩ¹²Ïí×ÊÔ´µÄ²¢·¢ÐÔ·ÃÎÊ´®Ðл¯£¬oracleÖеÄËø¾Í¿ÉÒÔÌṩÕâÑùµÄ¹¦ÄÜ£¬µ±ÊÂÎñÔÚ¶Ôij¸ö¶ÔÏó½øÐвÙ×÷Ç°£¬ÏÈÏòϵͳ ......

×ß½øLinq Linq to SQLÔ´´úÂëÉÍÎö

ÔÚDataContextÖÐÎÒÃÇ´ò½»µÀ×î¶àµÄÒ²Ðí¾ÍÊÇGetTable<TEntity>()·½·¨ÁË£¬Õâ¸ö·½·¨»á»ñÈ¡Ò»¸öTable<TEntity>¶ÔÏ󣬽ñÌìÎÒÃǾÍÀ´¿´¿´Õâ¸ö¶ÔÏóÊÇÈçºÎ»ñÈ¡µÄ¡£
¡¡¡¡¶ÔÓÚ»ñÈ¡Table<TEntity>¶ÔÏóÎÒÃÇ»¹Òª¿´¿´Õâ¸öDataContextÊDz»ÊÇÇ¿ÀàÐ͵ģ¬¹ØÓÚÇ¿ÀàÐ͵ÄDataContext¿ÉÒÔ¿´ÎÒÇ°ÃæһƪÎÄÕ£¬Ç¿ÀàÐ͵ÄDataContextÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ