sql server 2008 sql serverÉí·ÝÑéÖ¤ÎÊÌâ
ÎÒϵͳʽwin7 £¬Êý¾Ý¿âsqlserver2008.Ò»Ö±ÓÃwindowsÑéÖ¤£¬µÇ½£¬²»ÄÜÓÃsqlÑéÖ¤£¬ÔÚsaÉÏÖØÐÂ×¢²áÒ»¸öÓû§µÄ»°£¬µÇ½ʱµÚÒ»±é±¨
Òѳɹ¦Óë·þÎñÆ÷½¨Á¢Á¬½Ó£¬µ«ÊÇÔڵǼ¹ý³ÌÖз¢Éú´íÈ¡¡££¨provider:¹²ÏíÄÚ´æÌṩ³ÌÐò£¬error£º0-¹ÜµÀµÄÁíÒ»¶ËÉÏÎÞÈκνø³Ì¡££©£¨Microsoft SQL Server,´íÎó:233£©
È»ºóÔÙÊÔÒ»´Î¾Í°ü18456ÄǸö´íÎóÁË£¬
ÓÐÍøÉϽâ¾ö·½°¸Ëµ£¬°Ñ¡®MSSQLSERVERµÄÐÒ顯ϵġ°Named Pipes¡±ºÍ¡°TCP/IP¡±Æô¶¯¡£
ÎÒÒ²Æô¶¯ÁË£¬Ä¿Ç°»¹ÊDz»ÐУ¬Çë´ó¼ÒÖ¸½Ì¡£ÊDz»ÊÇÎÒ©ʲôϸ½ÚÎÊÌâ¡£
ûÓöµ½¹ý,°ï¶¥
ûÓùý,°ï¶¥.
Ïà¹ØÎÊ´ð£º
СµÜÊǸöÐÂÊÖ ÏÖÔÚÓиöÎÊÌâÒ»Ö±²»Äܽâ¾ö
ÀýÈç
procedure produce_proc
@p001 nvarchar(8000),
@p002 nvarchar(8000),
@p003 nvarchar(8000),
& ......
×Ö¶Îaa,¹²ÓÐ178¸öÊý¾Ý,ÏÔʾʱÊÇÒ»ÁÐÖ±ÅÅÏÂÀ´µÄ,ÎÒÏëÈÃÕâ178¸öÊý¾Ý,ÿÁÐÖ»ÏÔʾ5¸ö,¶àÁÐÏÔʾÍê,ÈçºÎʵÏÖ?
¼ÓÒ»¸öIDENTITYTÁÐ,°´ID%5À´·Ö
ÒýÓÃ
¼ÓÒ»¸öIDENTITYTÁÐ,°´ID%5À´·Ö
ID-1/5À´·Ö
SQL co ......
³ÌÐòʱASP+access
sql="select top 2 id,username from comp order by rnd(id) "
ÉÏÃæÓï¾äˢкó¶¼ÊÇÒ»¸öÖµ ÕâÑù»¹ÓÐËæ»úµÄÒâÒåÂð
ACCESSÓÐË¢ÐÂËæ»úÑ¡ÔñµÄSQLÓ ......
id name sfz
1 aa 410654198001204562
2 bb 410654198120461287
4 cc 41065419850 ......
ÏÈÀ´Ò»¸ö´íÎóÓï¾ä¡£¡£
select * from [aa] where a1 in (select max(a2),a1 from [aa] group by a1 )
ÎÒ´óÌåÒâ˼£¬
¶ÁÈ¡Ò»¸öͳ¼ÆϵͳÖÐ ²»Öظ´µÄ IP °´ÕÕ ×îºóʱ¼äÅÅÐò£¬²¢ÏÔʾ³öËùÓÐ×ֶΡ£¡ ......