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

SQL Server·þÎñÆ÷½ÇÉ«ÓëÊý¾Ý¿â½ÇÉ«Çø±ð

¹Ì¶¨·þÎñÆ÷½ÇÉ«
sysadmin ¿ÉÒÔÔÚ SQL Server ÖÐÖ´ÐÐÈκλ¡£
serveradmin ¿ÉÒÔÉèÖ÷þÎñÆ÷·¶Î§µÄÅäÖÃÑ¡Ï¹Ø±Õ·þÎñÆ÷¡£
setupadmin ¿ÉÒÔ¹ÜÀíÁ´½Ó·þÎñÆ÷ºÍÆô¶¯¹ý³Ì¡£
securityadmin ¿ÉÒÔ¹ÜÀíµÇ¼ºÍ CREATE DATABASE ȨÏÞ£¬»¹¿ÉÒÔ¶ÁÈ¡´íÎóÈÕÖ¾ºÍ¸ü¸ÄÃÜÂë¡£
processadmin ¿ÉÒÔ¹ÜÀíÔÚ SQL Server ÖÐÔËÐеĽø³Ì¡£
dbcreator ¿ÉÒÔ´´½¨¡¢¸ü¸ÄºÍ³ýÈ¥Êý¾Ý¿â¡£
diskadmin ¿ÉÒÔ¹ÜÀí´ÅÅÌÎļþ¡£
bulkadmin ¿ÉÒÔÖ´ÐÐ BULK INSERT Óï¾ä¡£
·þÎñÆ÷½ÇÉ«ÊÇÕë¶Ô·þÎñÆ÷Õâ¸ö²ã´ÎµÄȨÏÞ¶øÑÔµÄ,Ò²¾ÍÊÇ˵һ°ã¼ÓÈëµ½·þÎñÆ÷½ÇÉ«ÀïµÄÓû§¶¼ÊǾßÓжԷþÎñÆ÷Ò»¶¨µÄ¹ÜÀíȨÏÞ
Êý¾Ý¿â½ÇÉ«
db_owner ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔÖ´ÐÐÊý¾Ý¿âµÄËùÓÐÅäÖúÍά»¤»î¶¯£¬»¹¿ÉÒÔɾ³ýÊý¾Ý¿â¡£
db_securityadmin ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔÐ޸ĽÇÉ«³ÉÔ±Éí·ÝºÍ¹ÜÀíȨÏÞ¡£Ïò´Ë½ÇÉ«ÖÐÌí¼ÓÖ÷Ìå¿ÉÄܻᵼÖÂÒâÍâµÄȨÏÞÉý¼¶¡£
db_accessadmin ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔΪ Windows µÇ¼Ãû¡¢Windows ×éºÍ SQL Server µÇ¼ÃûÌí¼Ó»òɾ³ýÊý¾Ý¿â·ÃÎÊȨÏÞ¡£
db_backupoperator ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔ±¸·ÝÊý¾Ý¿â¡£
db_ddladmin ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔÔÚÊý¾Ý¿âÖÐÔËÐÐÈκÎÊý¾Ý¶¨ÒåÓïÑÔ (DDL) ÃüÁî¡£
db_datawriter ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔÔÚËùÓÐÓû§±íÖÐÌí¼Ó¡¢É¾³ý»ò¸ü¸ÄÊý¾Ý¡£
db_datareader ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±¿ÉÒÔ´ÓËùÓÐÓû§±íÖжÁÈ¡ËùÓÐÊý¾Ý¡£
db_denydatawriter ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±²»ÄÜÌí¼Ó¡¢Ð޸Ļòɾ³ýÊý¾Ý¿âÄÚÓû§±íÖеÄÈκÎÊý¾Ý¡£
db_denydatareader ¹Ì¶¨Êý¾Ý¿â½ÇÉ«µÄ³ÉÔ±²»ÄܶÁÈ¡Êý¾Ý¿âÄÚÓû§±íÖеÄÈκÎÊý¾Ý¡£
Êý¾Ý¿â½ÇÉ«ÊÇÕë¶ÔÊý¾Ý¿â²ã´Î¶øÑԵģ¬Óû§¼ÓÈ뵽ij¸öÊý¾Ý¿âµÄÊý¾Ý¿â½ÇÉ«Öкó,Õâ¸öÓû§Ö»ÊÇÔÚÕâ¸öÊý¾Ý¿âÀïÃæ¾ßÓÐÔÚ½ÇÉ«ÀïÖ¸¶¨µÄÓû§È¨ÏÞ¡£
Ò»¸öÓû§µÄ×îÖÕȨÏÞÊÇÓÉ ·þÎñÆ÷½ÇÉ«ÓëÊý¾Ý¿â½ÇÉ«×é³ÉµÄ


Ïà¹ØÎĵµ£º

SQLÓï¾ä

Ç°¶Îʱ¼äѧµÄÓйØsqlµÄÏà¹Ø֪ʶ,ºÜ¶à¶¼Ã»¼°Ê±È¥ÕûÀí,½ñÌì¸ÕºÃÓÐʱ¼äÓÐûÐÄÇé×öÆäËûµÄÊÇ,¾ÍÕûÀíÕûÀí°É
      Ò»Ö±ÒÔΪ×ö¿ª·¢µÄ¶ÔÊý¾Ý¿â²Ù×÷·½ÃæµÄÒªÇó²»»áºÜ¸ß,Ö»Òª»á¶ÔÊý¾ÝÔöɾ¸Ä²é¾ÍokÁË.ÏÖÔÚ²ÅÖªµÀ¶ÔÊý¾Ý¿âµÄ²Ù×÷»¹Ó¦¸Ã°üÀ¨Ð´´æ´¢ºÍº¯Êý,»¹Òª´´½¨ÐòÁС¢Ë÷Òý,ÊÓͼµÈ.
     ......

SQL Á¬½Ó²éѯ£¨ÄÚÁ´½Ó ÍâÁ¬½Ó£©


Á¬½Ó²éѯ 
¡¡¡¡Í¨¹ýÁ¬½ÓÔËËã·û¿ÉÒÔʵÏÖ¶à¸ö±í²éѯ¡£Á¬½ÓÊǹØϵÊý¾Ý¿âÄ£Ð͵ÄÖ÷ÒªÌص㣬ҲÊÇËüÇø±ðÓÚÆäËüÀàÐÍÊý¾Ý¿â¹ÜÀíϵͳµÄÒ»¸ö±êÖ¾¡£ 
¡¡¡¡ÔÚ¹ØϵÊý¾Ý¿â¹ÜÀíϵͳÖУ¬±í½¨Á¢Ê±¸÷Êý¾ÝÖ®¼äµÄ¹Øϵ²»±ØÈ·¶¨£¬³£°ÑÒ»¸öʵÌåµÄËùÓÐÐÅÏ¢´æ·ÅÔÚÒ»¸ö±íÖС£µ±¼ìË÷Êý¾Ýʱ£¬Í¨¹ýÁ¬½Ó²Ù×÷²éѯ³ö´æ·ÅÔÚ¶à¸ö±íÖеIJ»Í¬ÊµÌåµÄ ......

Ãâ°²×°Oracle¿Í»§¶ËÈí¼þ ʹÓÃpl/sqlÅäÖõǽ

ËäÈ»ÕâÊÇÎÒÕÒµ½×îÏêϸµÄÅäÖÃÃèÊö£¬µ«Êdz¢ÊÔ»¹ÊÇûÓгɹ¦¡£
 
1.ÏÂÔØOracle Client Package
.
´Ó
http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
ÏÂÔØ
Instant
Client Package – Basic
°ü
(

±ê×¢
:All files
required to run OCI, OCCI, and JDBC-OC ......

ÔÚlinuxÉÏÅäÖÃunixODBCºÍFreeTDS·ÃÎÊMS SQL Server.

Ò», °²×° unixODBC
ÏÂÔØ°²×°°ü. ÔÚ RedHat °²×°¹âÅÌÉϾÍÓÐ
unixODBC-2.2.11-1.RHEL4.1.i386.rpm
unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
unixODBC-kde-2.2.11-1.RHEL4.1.i386.rpm
°²×°
rpm -Uvh unixODBC-2.2.11-1.RHEL4.1.i386.rpm
rpm -Uvh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
Èç¹û°²×°ÖÐÌáʾÓжÔÆäËü° ......

SqlÁ¬½Ó²éѯºÍÁªºÏ²éѯ


SqlÁ¬½Ó²éѯºÍÁªºÏ²éѯ
Á¬½Ó²éѯ
   ͨ¹ýÁ¬½ÓÔËËã·û¿ÉÒÔʵÏÖ¶à¸ö±í²éѯ¡£Á¬½ÓÊǹØϵÊý¾Ý¿âÄ£Ð͵ÄÖ÷ÒªÌص㣬ҲÊÇËüÇø±ðÓÚÆäËüÀàÐÍÊý¾Ý¿â¹ÜÀíϵͳµÄÒ»¸ö±êÖ¾¡£
   ÔÚ¹ØϵÊý¾Ý¿â¹ÜÀíϵͳÖУ¬±í½¨Á¢Ê±¸÷Êý¾ÝÖ®¼äµÄ¹Øϵ²»±ØÈ·¶¨£¬³£°ÑÒ»¸öʵÌåµÄËùÓÐÐÅÏ¢´æ·ÅÔÚÒ»¸ö±íÖС£µ±¼ìË÷Êý¾Ýʱ£¬Í¨¹ýÁ¬½Ó²Ù×÷² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ