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

sql sever 2005 saĬÈÏÃÜÂëÊǶàÉÙ

Ê×ÏÈ£¬ÓÃwindows Éí·ÝÑéÖ¤ µÇ½ sql server 2005
ÒÀ´ÎÕ¹¿ª 
°²È«ÐÔ->µÇ¼Ãû
Ñ¡ÖÐ sa ÓÒ¼üµ¥»÷
Ñ¡ÖÐ ÊôÐÔ
µ¯³ö sa µÄÊôÐÔ¶Ô»°¿ò
¾ÍÔÚÃÜÂë´¦ ¸Ä ÃÜÂë ÐÐÁË
¸ÄÁËÃÜÂëºó Óà sa ºÍ Äã¸ÄµÄÃÜÂëµÇ½
Èç¹û»¹µÇ½²»ÉÏ
¾ÍÊÇÄãû´ò¿ª sql serverºÍ windowsÉí·ÝÑéÖ¤
ºÍûÊÚÓè sa µÇ½ȨÏÞ
½â¾ö°ì·¨ÈçÏÂ
£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º£º
³öÏÖ´ËÇé¿öÒ»°ãµÄ½â¾ö·½·¨ÊÇ£º
ÓÃ windows Éí·ÝÑéÖ¤
½øÈëÊý¾Ý¿âÒÔºó ´ò¿ª  °²È«ÐÔ-->µÇ¼Ãû
Èçͼ£º
ÔÚsa ÉÏÓÒ¼üµã»÷  È»ºóÑ¡Ôñ×ÓÏî    ÊôÐÔ
 
½øÈ¥ºó£¬ÏÈÑ¡Ôñ  ״̬£¬°Ñ µÇ½  Ñ¡ÉÏ ÆôÓà  £º£º ÊÇ·ñÔÊÐíÁ¬½Óµ½Êý¾Ý¿âÒýÇæ   Ñ¡ÉÏ  ÊÚÓè
Èçͼ
 
 
ÏȲ»×ż±È·¶¨
ÔÙÑ¡Ôñ   ³£¹æ
ÔÚ  ÃÜÂë ºÍ È·ÈÏÃÜÂë´¦  ÌîдÄúҪΪ sa Õ˺ÅÉèÖõÄÃÜÂë  ÀýÈç 123456
 
Èçͼ
 
µã»÷ È·¶¨
OK
Õ˺ŠÉèÖúÃÁË 
 
ÏÂÒ»²½ £º
 
ÔÚÄúµÄ·þÎñÆ÷ʵÀýÉϵ¥»÷ÓÒ¼ü  Ñ¡Ôñ ÊôÐÔ
Èçͼ
Ñ¡Ôñ  °²È«ÐÔ 
Èç¹ûÄú·¢ÏÖ ÓұߵĠ ·þÎñÆ÷Éí·ÝÑéÖ¤ ÒѾ­Ñ¡ÉÏÁË  SQL Server ºÍ Winodws Éí·ÝÑé֤ģʽ
ÄǾͲ»ÓùÜËüÁË
Èç¹ûûѡÉÏ  ¾ÍҪѡÉÏ
Èçͼ
ºÃÁË  µ¥»÷  È·¶¨
 
ÌáʾҪÖØÐÂÆô¶¯SQL Server  ijЩÅäÖøü¸Ä²Å»áÉúЧ
µã  È·¶¨
 
ÔÙÔÚÄúµÄ·þÎñÆ÷ʵÀýÉϵ¥»÷ÓÒ¼ü Ñ¡ÉÏ ÖØÐÂÆô¶¯
 
OK
ÉèÖÃÍêÁË
ÍêÉÆ´ð°¸


Ïà¹ØÎĵµ£º

linq to sql Óï·¨ ѧϰ±Ê¼Ç ´æÒ»ÏÂ

Join²Ù×÷·û
ÊÊÓó¡¾°£ºÔÚÎÒÃDZí¹ØϵÖÐÓÐÒ»¶ÔÒ»¹Øϵ£¬Ò»¶Ô¶à¹Øϵ£¬¶à¶Ô¶à¹ØϵµÈ¡£¶Ô¸÷¸ö±íÖ®¼äµÄ¹Øϵ£¬¾ÍÓÃÕâЩʵÏÖ¶Ô¶à¸ö±íµÄ²Ù×÷¡£
˵Ã÷£ºÔÚJoin²Ù×÷ÖУ¬·Ö±ðΪJoin(Join²éѯ), SelectMany(SelectÒ»¶Ô¶àÑ¡Ôñ)ºÍGroupJoin(·Ö×éJoin²éѯ)¡£
¸ÃÀ©Õ¹·½·¨¶ÔÁ½¸öÐòÁÐÖмüÆ¥ÅäµÄÔªËؽøÐÐinner join²Ù×÷
SelectMany
˵Ã÷£ºÎÒà ......

SQL´æ´¢¹ý³Ì

ʾÀý
A. ʹÓôøÓи´ÔÓ SELECT Óï¾äµÄ¼òµ¥¹ý³Ì
ÏÂÃæµÄ´æ´¢¹ý³Ì´ÓËĸö±íµÄÁª½ÓÖзµ»ØËùÓÐ×÷Õߣ¨ÌṩÁËÐÕÃû£©¡¢³ö°æµÄÊé¼®ÒÔ¼°³ö°æÉç¡£¸Ã´æ´¢¹ý³Ì²»Ê¹ÓÃÈκβÎÊý¡£
USE pubs
IF EXISTS (SELECT name from sysobjects
         WHERE name = 'au_info_all' AND type = 'P')
&nb ......

MySQL5.1ÄÚ±íתµ½MS SQL£¬±í½á¹¹Ó¦ÈçºÎÉèÖã¿

# MySQL-Front 5.1  (Build 4.2)
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE */;
/*!40101 SET SQL_MODE='STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES */;
/*!40103 SET SQL_NOTES='ON' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS */ ......

SQLÈÕÖ¾µÄ¸ÅÄî

½ñÌì³é³öÒ»µãʱ¼ä½âÊͼ¸¸ö¹ØÓÚSQLÈÕÖ¾µÄ¸ÅÄËûÃÇÒ²¾­³£Ê¹³õѧÕßÍû¶øÖ¹²½£¬·´Õý¼ÆËã»úµÄÊõÓﶼÊǺܳéÏóµÄ£¬ËùÒÔµÚÒ»¸Ð¾õ¾ÍÊÇÍ·ÌÛ£¬È»ºóÈ»ºó¼¸´Îºó¾Íû¸Ð¾õÁË.ÒÔÏÂÓÐЩÊÇ´ÓÊéÉÏÕª³­µÄ,ÓеÄÊÇ´ÓÍøÉÏÕÒµÄËãÊǽ軨Ï×·ð°É!!
¡¡¡¡ÎïÀíÈÕÖ¾Îļþ£º
    Õâ¸ö±È½ÏºÃÀí½â£¬ÊµÊµÔÚÔڵĶ«Î÷£¬Êý¾Ý¿âĿ¼ÏÂÃæµÄ.ldfÎļþ ......

ɾ³ý±í×ֶεÄsqlÓï¾ä

°¥£¬»¹ÊÇÉÏÖܵÄÊÂÇéÁË£¬csdnµÄ²©¿Í×î½üÕ¦ÀÏÊÇ´ò²»¿ªÄØ£¡
»ù±¾Óï¾ä£ºAlter table ±íÃû drop Column ×Ö¶ÎÃû
Áíµ¥µ¥ÊÇÕâÑùÊDz»ÐеΣ¬»¹ÒªÉ¾³ý¶ÔÓ¦µÄ¹ØϵµÎ¡£ÏÂÃæ¾Í°Ñ²éÕÒµ½µÄÄÇƪÎÄÕÂÒýÓÃÏ°ɣ¡
Ô­ÎĵØÖ·£ºhttp://hi.baidu.com/lisky119/blog/item/3c348c082573949c0a7b82d1.html
SET ANSI_NULLS ON
GO
SET QUOTED_IDENT ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ