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

ÈçºÎÁ¬½Óµ½Áíһ̨»úÆ÷ÉϵÄsql server 2005

 
ÈçºÎÁ¬½Óµ½Áíһ̨»úÆ÷ÉϵÄsql server 2005
 
Ò»¡¢Òª½øÐÐÁ½¸öµØ·½µÄÉèÖÃ
1         µã¿ªÊ¼—³ÌÐò—sql server 2005 –ÅäÖù¤¾ß—sql server 2005Ó¦ÓÃÅäÖÃÆ÷ ,Èçͼ£º
 
 
 
Ñ¡±¾µØÁ¬½ÓºÍÔ¶³ÌÁ¬½ÓÖеĠ ½öʹÓÃtcp/ip»ò  ͬʱʹÓÃtcp/ipºÍnamed pipes
2         µã¿ªÊ¼—³ÌÐò—sql server 2005—ÅäÖù¤¾ß—sql server configuration manger
 
 
ЭÒéÑ¡ ·ñ·ñÊÇ,Ò²¾ÍÊÇÈ«²¿ÕìÌýÑ¡·ñ¡¢ÒÑÑÓ³ÙÑ¡·ñ¡¢ÒÑÆôÓÃÑ¡ÊÇ¡£È»ºóÔÙÑ¡ipµØÖ·Ñ¡Ïî
 
 
 
ÈçͼÓÐÁ½¸öipµØÖ·£¬Ò»¸öÊÇ127.0.0.1,ÁíÒ»¸öÊÇÄãÒªÅäÖõģ¬ÎªÄã»úÆ÷ÉϵÄip µØÖ·£¬tcp¶¯Ì¬¶Ë¿ÚΪ¿Õ£¬tcp¶Ë¿ÚΪ£º1433£¬ÒÑÆôÓãºÊÇ¡£
IPµØÖ·¿ÉÒÔÓÃDOSÖеÄIPCONFIGÃüÁîÀ´²é¿´¡£
µã¿ªÊ¼—ÔËÐЗcmd,È»ºóÔÚDOSÃüÁîÌáʾ·ûÏÂÊäÈëIPCONFIG¡£Èçͼ¡£
 
 
¶þ   ÉÏÃæÁ½¸ö²½ÖèÉèÖúúó£¬Èç¹ûÄãµÄ»úÆ÷ÉÏÓжà¸ösql serverÊý¾Ý¿â£¬×îºÃÒª½«ÆäËûµÄÍ£Ö¹£¬ÒÔ·ÀÖ¹ÕùÓÃ1433¶Ë¿Ú¡£
 
Èý£¬ ÖØÆô  sql server 2005·þÎñ¡£
È»ºó£¬ÄãÒ²¿ÉÒÔÔÚDOSÏÂÊÔÊÔ£¬´ÓÄãµÄ»úÆ÷ºÍÁíÒ»¸ö»úÆ÷·Ö±ðÊÔÊÔÒÔϵÄDOSÃüÁ
TELNET 192.168.3.138 1433  
ÆäÖÐTELNETºóÃæµÄΪÄãSQL SERVER2005»úÆ÷ÉϵĵÄIPµØÖ·¡£Èç¹û³öÏÖºÚÆÁ£¬¹§Ï²Äã³É¹¦À²¡£³ö¹û³öÏÖÏÂÃæµÄ´íÎóÌáʾ£¬ÇëÔÙ¿´¿´ÉÏÃæµÄÉèÖÃÊDz»Êdzö³öÁËÎÊÌâ¡£
 
 
 
 ËÄ ×î½üÒ»²½ÊǵǼ£º
 
 


Ïà¹ØÎĵµ£º

Java Á¬½ÓÊý¾Ý¿â¡¢Ö´ÐÐSQL·â×°Àà

/*µ±Ö´ÐÐSQLʱ·¢ÏÖ²»ÄÜÁ¬½ÓÊý¾Ý¿â£¬ÏÈÖØÁ¬Ò»´Î*/
 
import java.io.FileInputStream;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
......

SQL ALTER TABLE Óï¾ä

³ö´¦£ºhttp://www.w3school.com.cn/sql/sql_alter.asp ALTER TABLE Óï¾ä ALTER TABLE Óï¾äÓÃÓÚÔÚÒÑÓеıíÖÐÌí¼Ó¡¢Ð޸Ļòɾ³ýÁС£ SQL ALTER TABLE Óï·¨ ÈçÐèÔÚ±íÖÐÌí¼ÓÁУ¬ÇëʹÓÃÏÂÁÐÓï·¨: ALTER TABLE table_name
ADD column_name datatype
Ҫɾ³ý±íÖеÄÁУ¬ÇëʹÓÃÏÂÁÐÓï·¨£º
ALTER TABLE table_name
DROP COLUM ......

SQL ServerÖеÄNullÖµ½âÎö

NULL
ÊÇÊý¾Ý¿âÖÐÌØÓеÄÊý¾ÝÀàÐÍ£¬µ±Ò»Ìõ¼Ç¼µÄij¸öÁÐΪ
NULL
£¬Ôò±íʾÕâ¸öÁеÄÖµÊÇδ֪µÄ¡¢ÊDz»È·¶¨µÄ¡£¼ÈÈ»ÊÇδ֪µÄ£¬¾ÍÓÐÎÞÊýÖֵĿÉÄÜÐÔ¡£Òò´Ë£¬
NULL
²¢²»ÊÇÒ»¸öÈ·¶¨µÄÖµ¡£
ÕâÊÇ
NULL
µÄÓÉÀ´¡¢Ò²ÊÇ
NULL
µÄ»ù´¡£¬ËùÓкÍ
NULL
Ïà¹ØµÄ²Ù×÷µÄ½á¹û¶¼¿ÉÒÔ´Ó
NULL
µÄ¸ÅÄîÍƵ¼³öÀ´¡£
ÅжÏÒ»¸ö×Ö¶ÎÊÇ·ñΪ
NULL
......

SQL Server 2005 EXCEPTºÍINTERSECTÔËËã·û


--> Title  : SQL Server 2005EXCEPTºÍINTERSECTÔËËã·û
--> Author : wufeng4552
--> Date   : 2009-10-30
 
(Ò»)¸ÅÄî
EXCEPTºÍINTERSECTÔËËã·ûʹÄú¿ÉÒԱȽÏÁ½¸ö»ò¶à¸öSELECTÓï¾äµÄ½á¹û²¢·µ»Ø·ÇÖظ´Öµ¡£
(¶þ)區別
EXCEPTÔËËã·û·µ»ØÓÉEXCEPTÔËËã·û×ó²àµÄ²éѯ·µ»Ø¡¢¶øÓÖ² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ