¹ØÓÚsql serverµÄ1433ºÍ1434¶Ë¿Ú
ת×Ô£º°Ù¶È°Ù¿Æ
Ëùν¶Ë¿Ú£¬¾ÍÊÇÏ൱ÓÚ»úÆ÷ÓëÍâ½ç½Ó´¥µÄ´°¿Ú¡£¶Ë¿ÚÆäʵÊÇÈí¼þµÄ´°¿Ú£¬¾ÍÊÇ˵һ¸öÈí¼þÈç¹ûÒªºÍÍâ½çÁªÏµ£¬¾Í±ØÐë´ò¿ªÒ»¸ö¶Ë¿Ú£»1434¶Ë¿ÚÊÇ΢ÈíSQL Serverδ¹«¿ªµÄ¼àÌý¶Ë¿Ú¡£ÄãҪʹÓÃSQL£¬¾Í±ØÈ»´ò¿ª1433ºÍ1434¶Ë¿Ú¡£
ĬÈÏÇé¿öÏ£¬SQL ServerʹÓÃ1433¶Ë¿Ú¼àÌý£¬ºÜ¶àÈ˶¼ËµSQL ServerÅäÖõÄʱºòÒª°ÑÕâ¸ö¶Ë¿Ú¸Ä±ä£¬ÕâÑù±ðÈ˾Ͳ»ÄܺÜÈÝÒ×µØÖªµÀʹÓõÄʲô¶Ë¿ÚÁË¡£¿Éϧ£¬Í¨¹ý΢Èíδ¹«¿ªµÄ1434¶Ë¿ÚµÄUDP̽²â¿ÉÒÔºÜÈÝÒ×ÖªµÀ SQL ServerʹÓõÄʲôTCP/IP¶Ë¿ÚÁË¡£ ÀýÈ磺“2003È䳿Íõ”ÀûÓÃSQL SERVER 2000µÄ½âÎö¶Ë¿Ú1434µÄ»º³åÇøÒç³ö©¶´£¬¶ÔÍøÂç½øÐй¥»÷¡£
²»¹ý΢Èí»¹ÊÇ¿¼Âǵ½ÁËÕâ¸öÎÊÌ⣬±Ï¾¹¹«¿ª¶øÇÒ¿ª·ÅµÄ¶Ë¿Ú»áÒýÆð²»±ØÒªµÄÂé·³¡£ÔÚʵÀýÊôÐÔÖÐÑ¡ÔñTCP/IPÐÒéµÄÊôÐÔ¡£Ñ¡ÔñÒþ²Ø SQL Server ʵÀý¡£Èç¹ûÒþ²ØÁË SQL Server ʵÀý£¬Ôò½«½ûÖ¹¶ÔÊÔͼö¾ÙÍøÂçÉÏÏÖÓÐµÄ SQL Server ʵÀýµÄ¿Í»§¶ËËù·¢³öµÄ¹ã²¥×÷³öÏìÓ¦¡£ÕâÑù£¬±ðÈ˾Ͳ»ÄÜÓÃ1434À´Ì½²âÄãµÄTCP/IP¶Ë¿ÚÁË£¨³ý·ÇÓÃPort Scan£©
SQL Server 2005²»ÔÙÔÚ1434¶Ë¿ÚÉϽøÐÐ×Ô¶¯ÕìÌýÁË¡£Êµ¼ÊÉÏ£¬ÊÇÍêÈ«²»ÕìÌýÁË¡£ÄãÐèÒª´ò¿ªSQL ä¯ÀÀÆ÷·þÎñ£¬°ÑËü×÷Ϊ½â¾ö¿Í»§¶ËÏò·þÎñÆ÷¶Ë·¢ËÍÇëÇóµÄÖмäý½é¡£SQL ä¯ÀÀÆ÷·þÎñÖ»ÄÜÌṩÃû×Ö/¶Ë¿Ú¾öÒé¡£
Ïà¹ØÎĵµ£º
1.Ñ¡Ôñ×îÓÐЧÂʵıíÃû˳Ðò(Ö»ÔÚ»ùÓÚ¹æÔòµÄÓÅ»¯Æ÷ÖÐÓÐЧ)¡¡¡¡
¡¡¡¡ SQLSERVERµÄ½âÎöÆ÷°´ÕÕ´ÓÓÒµ½×óµÄ˳Ðò´¦Àífrom×Ó¾äÖеıíÃû£¬Òò´Ëfrom×Ó¾äÖÐдÔÚ×îºóµÄ±í£¨»ù´¡±ídriving table£©½«±»×îÏÈ´¦Àí£¬ÔÚfrom×Ó¾äÖаüº¬¶à¸ö±íµÄÇé¿öÏ£¬±ØÐëÑ¡Ôñ¼Ç¼ÌõÊý×îÉٵıí×÷Ϊ»ù´¡±í£¬µ±SQLSERVER´¦Àí¶à¸ö±íʱ£¬»áÔËÓÃÅÅÐò¼°ºÏ²¢µÄ·½Ê½Á ......
Îı¾ nvarchar(n)
±¸×¢ ntext
Êý×Ö(³¤ÕûÐÍ) int
Êý×Ö(ÕûÐÍ) smallint
Êý×Ö(µ¥¾«¶È) real
Êý×Ö(Ë«¾«¶È) float
Êý×Ö(×Ö½Ú) tinyint
»õ±Ò money
ÈÕÆÚ smalldatetime
²¼¶û bit
¸½£º×ª»»³ÉSQLµÄ½Å±¾¡£
ALTER TABLE tb ALTER COLUMN aa Byte Êý×Ö[×Ö½Ú]
ALTER TABLE tb ALTER COLUMN aa Long Êý×Ö[³¤ÕûÐÍ]
ALTER T ......
1.bzscs(ɳ³æ ÎÒ°®Ð¡ÃÀ)Óú¯數µÄºÃ辦·¨:
CREATE function [dbo].[calc_date](@time smalldatetime,@now smalldatetime)
returns nvarchar(10)
as
begin
declare @year int,@month int,@day int
select @year = datediff(yy,@time,@now)
if (month(@now)=month(@time)) and (day ......
£¨×ªÔØ£©SQL 2K Êý¾ÝÀàÐÍ
(1)char¡¢varchar¡¢textºÍnchar¡¢nvarchar¡¢ntext
charºÍvarcharµÄ³¤¶È¶¼ÔÚ1µ½8000Ö®¼ä£¬ËüÃǵÄÇø±ðÔÚÓÚcharÊǶ¨³¤×Ö·ûÊý¾Ý£¬¶øvarcharÊDZ䳤×Ö·ûÊý¾Ý¡£Ëùν¶¨³¤¾ÍÊdz¤¶È¹Ì¶¨µÄ£¬µ±ÊäÈëµÄÊý¾Ý³¤¶ÈûÓдﵽָ¶¨µÄ³¤¶Èʱ½«×Ô¶¯ÒÔÓ¢ÎĿոñÔÚÆäºóÃæÌî³ä£¬Ê¹³¤¶È´ïµ½ÏàÓ¦µÄ³¤¶È£»¶ø±ä³¤×Ö·ûÊý¾Ý ......