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

SQL SERVERÊÂÎñ¸´ÖÆ£­£­¹¤×÷Ô­Àí²âÊÔ

ÈÕÖ¾¶ÁÈ¡Æ÷Ö»½«ÒѾ­COMMITµÄÊÂÎñ´«Ë͵½·Ö·¢Êý¾Ý¿â¡£
²âÊÔ·½·¨£º
1. ÔÚ·¢²¼Êý¾Ý¿âÖ´ÐУº
begin tran
insert  testTable2 (aaa,bbb,ddd,ccc)
values ('jawefwao','jfowijef','jaiwejfo','civjoiw')
insert  testTable2 (aaa,bbb,ddd,ccc)
values ('jawefwao2','jfowijef2','jaiwejfo2','civjoiw2')
insert  testTable2 (aaa,bbb,ddd,ccc)
values ('jawefwao3','jfowijef3','jaiwejfo3','civjoiw3')
insert  testTable2 (aaa,bbb,ddd,ccc)
values ('jawefwao4','jfowijef4','jaiwejfo4','civjoiw4')
2. ÔÚ·¢²¼Êý¾Ý¿âÖ´ÐУº
sp_browsereplcmdsºóûÓз¢ÏÖеÄÃüÁî´ÓÈÕÖ¾¶ÁÈ¡Æ÷´«Ë͹ýÀ´¡£
3. ÔÚ·¢²¼Êý¾Ý¿âÖ´ÐУº
COMMIT
4. ÔÚ·¢²¼Êý¾Ý¿âÖ´ÐУº
sp_browsereplcmdsºó·¢ÏÖеÄÃüÁî´ÓÈÕÖ¾¶ÁÈ¡Æ÷´«Ë͹ýÀ´¡£


Ïà¹ØÎĵµ£º

SQL SERVER2000 ±¸·ÝÎÊÌâ

         ÔÚSQL SERVER2000ÆóÒµ¹ÜÀíÆ÷Ï£¬SQL Server×éÀïÒѾ­¼ÓÈçÁË Ð½¨SQL Server ×¢²á
±ÈÈ磺ÔÚ¿ÉÓõķþÎñÆ÷(V)Îı¾¿òÖÐÊäÈëÁË:192.138.2.66È»ºóµã»÷ Ìí¼Óµ½·þÎñÆ÷£¬µ±×¢²á³É¹¦ºó
£¬µ±È»192.138.2.66ÀïÃæÓРһ¸öÃûΪ kangarooµÄÊý¾Ý¿â£¬ ÎÒÏÖÔÚµÄÎÊÌâÊÇ£º
 Ôõô°Ñ ......

ÓÐÓõÄsqlÓï¾ä

¡¡¡¡Ëæ»ú¶ÁÈ¡Èô¸ÉÌõ¼Ç¼£¬²âÊÔ¹ý
AccessÓï·¨£ºSELECT top 10 * from ±íÃû ORDER BY Rnd(id)
Sql server:select top n * from ±íÃû order by newid()
mysql select * from ±íÃû Order By rand() Limit n
¡¡¡¡ËµÃ÷£ºÑ¡Ôñ´Ó10µ½15µÄ¼Ç¼
select top 5 * from (select top 15 * from table order by id asc) table_±ðÃû or ......

ÔÚWIN XPϵͳÉÏ°²×°SQL Server·þÎñÆ÷°æ£¨×ª£©

·½·¨1£º
Ò»¡¢ÕÒÒ»ÕÅSQL server·þÎñÆ÷°æ¹âÅÌ£¬ÔÚ¹âÅÌÉÏÕÒµ½Ä¿Â¼“MSDE”²¢½øÈ룬ÔËÐÐSETUP.EXEÎļþ£¬²¢°´ÕÕ³ÌÐòÒªÇó½øÐа²×°¡£°²×°Íê³ÉÖØÐÂÆô¶¯¼ÆËã»ú¡£
¶þ¡¢ÔËÐйâÅÌÖеģ¬AUTORUN.EXEÎļþ£¬»òÈùâÅÌ×Ô¶¯ÔËÐУ¬´ò¿ª°²×°½çÃæºó£¬
µã»÷“°²×°SQL server 2000×é¼þ£¨C£©”-->“°²×°Êý¾Ý¿â·þÎñÆ ......

Ìá¸ßÊý¾Ý¿âSQLÓï¾ä²éѯËٶȵļ¸¸ö·½·¨£¨×ª£©


Ìá¸ßÊý¾Ý¿âSQLÓï¾ä²éѯËٶȵļ¸¸ö·½·¨
1¡¢³ÌÐòÖУ¬
±£Ö¤ÔÚʵÏÖ¹¦ÄܵĻù´¡ÉÏ£¬¾¡Á¿¼õÉÙ¶ÔÊý¾Ý¿âµÄ·ÃÎÊ´ÎÊý£»
ͨ¹ýËÑË÷²ÎÊý£¬¾¡Á¿¼õÉÙ¶Ô±íµÄ·ÃÎÊÐÐÊý,×îС»¯½á¹û¼¯£¬´Ó¶ø¼õÇáÍøÂ縺µ££»
Äܹ»·Ö¿ªµÄ²Ù×÷¾¡Á¿·Ö¿ª´¦Àí£¬Ìá¸ßÿ´ÎµÄÏìÓ¦Ëٶȣ»
ÔÚÊý¾Ý´°¿ÚʹÓÃSQLʱ£¬¾¡Á¿°ÑʹÓõÄË÷Òý·ÅÔÚÑ¡ÔñµÄÊ×ÁУ»
Ëã·¨µÄ½á¹¹¾¡Á¿¼òµ¥ ......

SQL server 2005ÖÐÎÞ·¨Ð½¨×÷Òµ£¨Job£©µÄÎÊÌâ

ÔÚʹÓÃsqlserver2005´´½¨×÷ҵʱ£¬´´½¨²»ÁË£¬Ìáʾ
ÎÞ·¨½«ÀàÐÍΪ“Microsoft.SqlServer.Management.Smo.SimpleObjectKey”µÄ¶ÔÏóÇ¿ÖÆת»»ÎªÀàÐÍ“Microsoft.SqlServer.Management.Smo.Agent.JobObjectKey”¡£   (Microsoft.SqlServer.Smo)
ÓÚÊǾÍgoogle£¬°Ù¶ÈÁËһϣ¬ºÃ¶àÎÄÕºÍÌù×Ó˵ÐèÒª° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ