sql serverÁ¬½ÓÊý¾Ý¿â×Ö·û´®
1¡¢WINDOWSÉí·ÝµÇ½£º
<connectionStrings>
<add name="connectionString" connectionString="Data Source=(local);Initial Catalog=AngelicaDB;Integrated Security=True" providerName="System .Data .SqlClient" />
</connectionStrings>¡¢
2¡¢sql serverÉí·ÝµÇ½£º
<connectionStrings>
<add name="connectionString" connectionString="Data Source=(local);Initial Catalog=AngelicaDB;User Id=sa; Password=; providerName="System .Data .SqlClient" />
</connectionStrings>
Ïà¹ØÎĵµ£º
¡¡ ¡ù Êý¾Ý¶¨ÒåÓïÑÔ(DDL)£¬ÀýÈ磺CREATE¡¢DROP¡¢ALTERµÈÓï¾ä¡£
¡¡¡¡¡ù Êý¾Ý²Ù×÷ÓïÑÔ(DML)£¬ÀýÈ磺INSERT£¨²åÈ룩¡¢UPDATE£¨Ð޸ģ©¡¢DELETE£¨É¾³ý£©Óï¾ä¡£
¡¡¡¡¡ù Êý¾Ý²éѯÓïÑÔ(DQL)£¬ÀýÈ磺SELECTÓï¾ä¡£
¡¡¡¡¡ù Êý¾Ý¿ØÖÆÓïÑÔ(DCL)£¬ÀýÈ磺GRANT¡¢REVOKE¡¢COMMIT¡¢ROLLBACKµÈÓï¾ä¡£
1¡¢ËµÃ÷£º´´½¨Êý¾Ý¿â
C ......
http://support.microsoft.com/default.aspx/kb/237980/zh-cn
½« Access Êý¾Ý¿âת»»Îª SQL Server µÄ×î¼ò±ã·½·¨ÊÇʹÓÃÉýǨÏòµ¼¡£ÉýǨÏòµ¼£º
±£ÁôÊý¾Ý¿â½á¹¹£¬°üÀ¨Êý¾Ý¡¢Ë÷ÒýºÍĬÈÏÉèÖá£
×Ô¶¯½« Access ÓÐЧÐÔ¹æÔòºÍĬÈÏÉèÖÃת»»ÎªÊʵ±µÄ SQL Server µÈЧÄÚÈÝ¡£
ÔÚÉýǨºó±£³Ö±í¹ØÏµºÍ²ÎÕÕÍêÕûÐÔ¡£
ÒªÔÚ Access 2000 ......
SQL Server 2005 ¾µÏñ¹¹½¨ÊÖ²á
Ò»¡¢ ¾µÏñ¼ò½é
1¡¢ ¼ò½é
Êý¾Ý¿â¾µÏñÊǽ«Êý¾Ý¿âÊÂÎñ´¦Àí´ÓÒ»¸öSQL ServerÊý¾Ý¿âÒÆ¶¯µ½²»Í¬SQL Server»·¾³ÖеÄÁíÒ»¸öSQL ServerÊý¾Ý¿âÖС£¾µÏñ²»ÄÜÖ±½Ó·ÃÎÊ;ËüÖ»ÓÃÔÚ´íÎó»Ö¸´µÄÇé¿öϲſÉÒÔ±»·ÃÎÊ¡£
Òª½øÐÐÊý¾Ý¿â¾µÏñËùÐèµÄ×îСÐèÇó°üÀ¨ÁËÁ½¸ö²»Í¬µÄSQL ServerÔËÐл·¾³¡£Ö÷·þÎñÆ÷± ......
Ò»¡¢»ù´¡
1¡¢ËµÃ÷£º´´½¨Êý¾Ý¿â
Create DATABASE database-name
2¡¢ËµÃ÷£ºÉ¾³ýÊý¾Ý¿â
drop database dbname
3¡¢ËµÃ÷£º±¸·Ýsql server
--- ´´½¨ ±¸·ÝÊý¾ÝµÄ device
USE master
EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind ......