ÇósqlÓï¾ä
pln_id memo 1 ÎÒÊÇ 1 ÄãºÃ 2 ÄãÊÇ 2 ÎҺà ½á¹û pln_id memo 1 ÎÒÊÇÄãºÃ 2 ÄãÊÇÎÒºÃ
ÄãµÄOracle ʲô°æ±¾£¿ 10g°¡ Äã×Ô¼º¾õµÃÓÐʲô¹æÂÉÂð?ÄãÌùµÄÊý¾Ý½öÊÇʾÀýÊý¾Ý°É SQL code: SQL> select * from t; IDX NAME --------------------------------------- ---------------------------------------- 1 ÎÒÊÇ 1 ÉñÏÉ 2 ÎÒÊÇ 2 ÉñÏÉ SQL> SQL> select idx,replace(wmsys.wm_concat(name),',','') name from t 2 group by idx; IDX NAME --------------------------------------- -------------------------------------------------------------------------------- 1 ÎÒÊÇÉñÏÉ 2 ÎÒÊÇÉñÏÉ SQL> ÒýÓà SQL code SQL>select*from t; IDX NAME------
Ïà¹ØÎÊ´ð£º
sql table±íÓиöÎı¾ÀàÐ͵Äa×ֶΣ¬´æ´¢µÄÄÚÈÝÈ«²¿ÊÇÊý×Ö£¬ÀýÈç2009001£¬2008578ÕâÑùµÄ¸ñʽ£»b×Ö¶ÎÎı¾ÀàÐÍ£¬´æµÄÒ²ÊÇÊý×ÖÀýÈç 001£¬123 aspÀïÃæ strday=100£¬strb=001 ÎÒÏë¶Á³ö£¬´Óa×ֶεÄÊý×Ö°´´óµ½Ð¡µÄË ......
ÖØа²×°sql server 2005ʱ£¬ÔÚ°²×°µ½ÀàËÆdata base service µÄ·þÎñʱ×ÜÊdzöÏîwindows installer µÄ´íÎó¡£ ÎÒÔÚÍøÉϲéÁ˽â¾öµÄ°ì·¨£¬ÏÈÍ£ÁËÕâ¸ö·þÎñ£¬È»ºóÖØÐÂÏÂÔØ°²×°ÁËInstMsiW.exe£¬È»ºóÓÖÆô¶¯Õâ¸ö·þÎñ£¬µ«ÊDz ......
SELECT ×Ö¶Î1 from ±í WHERE (...) AND ×Ö¶Î1=function() ×Ö¶Î1ÓпÉÄܵÄÖµ Ϊ 0 »òÕß -1 function ·µ»Ø 0 »òÕß -1 ÕâÑùµÄËÙ¶ÈÌ«ÂýÁË Çë¸ßÊÖ°ïæ ¶¨£¡ ÎÒд³ ......
×îÏÈϵͳװÓÐsql2000£¬ÀïÃæÒ²ÔËÐÐÁ˺öàÍøÕ¾Êý¾Ý¿âÓ¦ÓóÌÐò£¬ÏÖÔÚÓиöÍøÕ¾ÐèÒªÅÜÔÚsql server2005ƽ̨ÉÏ£¬ÇëÎÊÎÒ¿ÉÒÔÖ±½ÓÔÚÕâ¸ö°²×°ÓÐsql server2000µÄ·þÎñÆ÷ÉÏÖ±½Ó°²×°sql server2005Â𣿻᲻»áÁ½¸ö°æ±¾µÄ·¢Éú¼æÈÝÐ ......
1.´´½¨Ò»¸öÊý¾Ý¿âʱ ÓдíÂð£¿Ëü×ÜÊÇÌáʾdbd.ldfÒѾ´æÔÚ µ«ÊÇÔõô¸ÄÃû¶¼»¹ÊÇÒ»ÑùÌáʾ´æÔÚ create database testdb on primary (name=db1,filename='e:\java\zy\dba.mdf',size=1,maxsize=5,file ......