SQL Server¹ÊÕÏÐÞ¸´¼¼ÇÉ
SQL Server 2005 ºÍ 2008 Óм¸¸ö¹ØÓڸ߿ÉÓÃÐÔµÄÑ¡ÏÈçÈÕÖ¾´«Êä¡¢¸±±¾ºÍÊý¾Ý¿â¾µÏñ¡£ËùÓÐÕâЩ¼¼Êõ¶¼Äܹ»×÷Ϊά»¤Ò»¸ö±¸Ó÷þÎñÆ÷µÄÊֶΣ¬Í¬Ê±Õâ¸öÊý¾Ý¿â¿ÉÒÔÔÚÄãÔÏȵÄÖ÷Êý¾Ý¿â³öÎÊÌâʱÉÏÏß²¢×÷ΪеÄÖ÷·þÎñÆ÷¡£È»¶ø£¬Äã±ØÐë¼ÇסµÄÊǽ«±¸Ó÷þÎñÆ÷Ìæ»»ÉÏÏßÖ»ÊÇÍê³ÉÁËÒ»°ëµÄ¹ÊÕÏÐÞ¸´¹¤×÷¡£
Òª±£Ö¤ÄãµÄÓ¦ÓÃÕý³£¹¤×÷£¬ÔÚÊý¾Ý¿âÍⲿ»¹ÓÐÐí¶à×¢ÒâÊÂÏî¡£ÕâÆäÖаüÀ¨µÇ¼ÐÅÏ¢¡¢Êý¾Ý¿âÓû§¡¢µ÷¶ÈÈÎÎñ¡¢DTS ºÍ SSIS °ü¡¢¿ÉÖ´ÐÐÎļþ¡¢ÏµÍ³Êý¾Ý¿âÖеĶÔÏó¡¢Í¬ÃûÊý¾Ý¿â¡¢Á´½Ó·þÎñÆ÷µÈµÈ¡£
ÓÐʱÕâЩϸСµÄÒÀÀµÖ»ÓÐÔÚÄã½øÐÐÒ»¸öÊý¾Ý¿â¹ÊÕϻָ´Ê±²Å»á·¢ÏÖ£¬ÕâÑùÄãÓÖ²»µÃ²»»¨·Ñ´óÁ¿Ê±¼ä½øÐе÷ÊÔºÍÆÀ¹Àµ¼ÖÂÕâ¸öÎÊÌâµÄ¸ùÔ´¡£´ËÍ⣬Ä㻹±ØÐëÈõڶþ̨·þÎñÆ÷ºÍÓ¦Óþ¡¿ÉÄÜ¿ìµØÉÏÏßÒÔ¼õÉÙÍ£»úʱ¼ä¡£Òò´Ë£¬ÌáÇ°×öÉèÖÃÊǷdz£ÖØÒªµÄ¡£
µ±Éæ¼°µ½¸ß¿ÉÓÃÐÔºÍSQL Server µÄÔÖÄѻָ´¹æ»®Ê±£¬ÄãÓ¦¸Ã½÷¼ÇÎÒ±¾ÈËËùϲ»¶µÄÒ»¸öÀ¶¡ÑèÓï ——Si vis pacem, para bellum£¬ËüµÄÒâ˼·Òë¹ýÀ´¾ÍÊÇ“Èç¹ûÄãÏëÒªµÃµ½ºÍƽ£¬ÄǾ͵ÃÏÈ×÷ºÃÕ½Õù×¼±¸¡£”¼ÇסÕâÒ»µãºó£¬ÈÃÎÒÃÇÀ´¿´¿´Ò»Ð©¿ÉÄÜ»áÓöµ½µÄÎÊÌâ¡£ÎÒÒ²½«½¨Ò鼸¸öÔ¤ÏÈ¿ÉÒÔÍê³ÉµÄÈÎÎñ£¬ÒÔÈ·±£Êý¾Ý¿â¹ÊÕϻָ´¹ý³Ì¿ìËÙÓÐЧµØÍê³É¡£
SQL Server µÇ¼ÐÅÏ¢ÓëÊý¾Ý¿âÓû§
ÄãµÄ¹ÊÕϻָ´·þÎñÆ÷Ó¦¸Ã±¸·ÝËùÓеĵǼÐÅÏ¢ºÍÊý¾Ý¿âÓû§£¬°üÀ¨ÃÜÂë¡£µÇ¼ÐÅÏ¢¿ÉÒÔÔÚÈκÎʱºò´´½¨£¬µ«ÊÇÈç¹ûÄãʹÓÃÈÕÖ¾´«Êä»òÊý¾Ý¿â¾µÏñ£¬ÄãµÄÊý¾Ý¿â½«´¦Àí»Ö¸´×´Ì¬£¬ÕâÑùÄãÖ»ÓÐÔÚËüÃÇÖØÐÂÉÏÏߺó²ÅÄÜÍê³É»Ö¸´¹ý³Ì¡£
ʹÓà Windows ÈÏÖ¤£¬¿ÉÒÔºÜÈÝÒ׵ؽ«µÇ¼ÐÅÏ¢Ó³Éäµ½Êý¾Ý¿âÓû§¡£È»¶ø£¬Èç¹ûÄãʹÓõÄÊÇ SQL ÈÏÖ¤£¬ÄÇôÄãÐèÒªÊÖ¶¯µØÔÚÄã´ÓÁíÒ»¸ö·þÎñÆ÷»ñµÃµÄÊý¾Ý¿âÉÏÖØн¨Á¢µÇ¼ÐÅÏ¢ÓëÊý¾Ý¿âÓû§µÄÁ¬½Ó¡£Òò´Ë£¬ÄãÔÚǨÒÆÊý¾Ý¿âʱ»á¶ªÊ§µÇ¼ÐÅÏ¢ºÍÊý¾Ý¿âÓû§Ö®¼äµÄÁ¬½Ó¡£
µ±ÄãÔÚµÚ¶þ̨·þÎñÆ÷Éϻָ´Êý¾Ý¿âºó£¬ÔËÐÐÕâЩ´úÂ룺
USE YourDatabaseName
EXEC sp_change_Users_Login 'UPDATE_ONE', YourDBUserName, YourLogin
±£³ÖµÇ¼ÐÅϢͬ²½µÄÁíÒ»¸ö·½·¨ÊÇ×ñÑ Microsoft Knowledge Base ÉϹØÓÚ ÔÚ SQL Server ʵÀýÖ®¼ä´«ÊäµÇ¼ÐÅÏ¢ºÍÃÜÂë µÄÎÄÕµIJ½Öè¡£ÕâƪÎÄÕ²ûÊöÁËÈçºÎʹÓÃÔʼµÄ SID ½Å±¾»¯µÇ¼ÐÅÏ¢¡£µ±ÔÚ¹ÊÕϻָ´Êý¾Ý¿â·þÎñÆ÷ÉÏ´´½¨ÕâЩµÇ¼ÐÅϢʱ£¬µÇ¼ÐÅÏ¢ÓëÊý¾Ý¿âÓû§Ö®¼äµÄÁ¬½Ó»á±»±£´æ£¬ÕâÑùÄã¾Í²»±ØÔËÐÐÉÏÃæµÄ½Å±¾ÐÞ¸´¹ÂÁ¢µÄÓû§¡££¨À´Ô´£º±ÈÌØÍø£©
¶«·½ÈðͨITÅàѵÓë·þÎñÖÐÐÄÓµÓÐÊ®ÄêITÅàѵ¾Ñ飬רעÖйú¸ß¶ËITÅàѵÊÇÖйú¸ß¶ËITÅàѵµÚһƷÅÆ£¬Ìá¹
Ïà¹ØÎĵµ£º
±¾ÎÄÀ´×Ô£ºhttp://zhidao.baidu.com/question/27978123.html?si=1
ÕâЩÊÇ SQL-92 ÉèÖÃÓï¾ä£¬Ê¹ SQL Server 2000/2005 ×ñ´Ó SQL-92 ¹æÔò¡£
µ± SET QUOTED_IDENTIFIER Ϊ ON ʱ£¬±êʶ·û¿ÉÒÔÓÉË«ÒýºÅ·Ö¸ô£¬¶øÎÄ×Ö±ØÐëÓɵ¥ÒýºÅ·Ö¸ô¡£µ± SET QUOTED_IDENTIFIER Ϊ OFF ʱ£¬±êʶ·û²»¿É¼ÓÒýºÅ£¬ÇÒ±ØÐë·ûºÏËùÓÐ Transact-SQL ±êÊ ......
±¾ÒëÎIJÉÓÃ֪ʶ¹²ÏíÊðÃû-·ÇÉÌÒµÐÔʹÓÃ-Ïàͬ·½Ê½¹²Ïí 3.0 UnportedÐí¿ÉÐÒé·¢²¼£¬×ªÔØÇë±£Áô´ËÐÅÏ¢
ÒëÕߣºÂí³ÝÜÈ | Á´½Ó£ºhttp://www.dbabeta.com/2010/oracle-sql-server-comparison-i.html
×÷ÕߣºSadequl Hussain | ÔÎÄ£ºhttp://www.sql-server-performance.com/articles/dba/oracle_sql_server_comparison_p1.aspx
Ò» ......
SQL×Ö·û´®º¯Êýhttp://www.cnblogs.com/virusswb/archive/2008/09/10/1288576.html
selectÓï¾äÖÐÖ»ÄÜʹÓÃsqlº¯Êý¶Ô×ֶνøÐвÙ×÷£¨Á´½Ósql server£©£¬
select ×Ö¶Î1 from ±í1 where ×Ö¶Î1.IndexOf("ÔÆ")=1;
ÕâÌõÓï¾ä²»¶ÔµÄÔÒòÊÇindexof£¨£©º¯Êý²»ÊÇsqlº¯Êý£¬¸Ä³Ésql¶ÔÓ¦µÄº¯Êý¾Í¿ÉÒÔÁË¡£
left£¨£©ÊÇsqlº¯Êý¡£
select ×Ö ......
----------Dbf µ¼Èë Sql Server±í----------
ÒÔϾùÒÔSQL2000¡¢VFP6¼°ÒÔÉϵıíΪÀý
´úÂëµ¼È룺²éѯ·ÖÎöÆ÷ÖÐÖ´ÐÐÈçÏÂÓï¾ä(ÏÈÑ¡Ôñ¶ÔÓ¦µÄÊý¾Ý¿â)
-------------Èç¹û½ÓÊܵ¼ÈëÊý¾ÝµÄSQL±íÒÑ´æÔÚ
--Èç¹û½ÓÊܵ¼ÈëÊý¾ÝµÄSQL±íÒѾ´æÔÚ
Insert Into ÒѾ´æÔÚµÄSQL±íÃû Select * from openrowset('MSDASQL','Driver=Microso ......
ÔÚÍøÂçÉÏ·¢ËÍÊý¾Ý¶¼»á·¢ÉúһЩÑÏÖصݲȫÎÊÌ⣬ÍøÂç×î´óµÄµ£ÓÇÔÚÓÚÓÐÈË¿ÉÒÔ²¶»ñÊý¾Ý£¬sqlserverÖ§³Ö²ÉÓÃÖ¤ÊéÀ´¼ÓÃÜ
1£®´´½¨Ö¤Êé
create master key encryption by
password = 'administrator123'
--ÓÃÃÜÂëadmini--
create certificate c1
encryption by password = 'administrator123'
with subject = 'c1 certific ......