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

¹ØÓÚSQLÒìµØ±¸·ÝµÄ·½·¨

·½°¸Ò»£ºSQL×Ô´øµÄÊý¾Ý¿â±¸·Ý¼Æ»®
Ò»£º»ù±¾Ë¼Â·
1£ºÒªÊµÏÖÒìµØ±¸·Ý£¬±ØÐëʹÓÃÓòÓû§ÕʺÅÀ´Æô¶¯SQL Server·þÎñÒÔ¼°SQL Server Agent·þÎñ£¬ÒòΪ±¾µØϵͳÕÊ»§ÎÞ·¨·ÃÎÊÍøÂç¡£
2£ºÔÚÒìµØ»úÆ÷Öн¨Á¢Ò»¸öÓëSQL Server·þÎñÆ÷ÖÐÆô¶¯SQL Server·þÎñµÄÓòÓû§ÕʺÅͬÃûÕʺÅ,ÇÒÃÜÂë±£³ÖÏàͬ¡£ÔÚÒìµØ»úÆ÷Öн¨Á¢Ò»¸ö¹²ÏíÎļþ¼Ð£¬²¢ÉèÖúÏÊÊȨÏÞ¡£
×¢Ò⣺н¨ÕʺÅÕë¶ÔµÄÊǹ¤×÷×éģʽ£¬Èç¹ûÊÇ»ùÓÚÓòģʽ£¬ÄǾÍÎÞÐëÔÙ½¨ÕʺÅ
¡¡  3£ºÔÚSQL Server·þÎñÆ÷Öн¨Á¢ÒìµØ±¸·ÝµÄά»¤¼Æ»®£¬ÔÚ“ÍêÈ«±¸·Ý”ºÍ“ÊÂÎñÈÕÖ¾±¸·Ý”ÖУ¬Ê¹ÓÃÊäÈëÒìµØ¹²ÏíÎļþ¼ÐµÄUNC·¾¶¡£
4£ºÅäÖúÃά»¤¼Æ»®ÖÐÆäËüÉèÖá£
 
¡¡¡¡ÉÏÃæ±íÊö¿ÉÄܲ»Ì«Ö±¹Û£¬ÏÂÃæÒÔʵ¼ÊʵÑéÀ´ÑÝʾÈçºÎ×öÒìµØ±¸·Ý¡£ÊµÑéÍøÂçÄ£Ðͺܼòµ¥£¬ÈçÏÂͼ£º   ¡¡
             
¶þ£ºÒìµØ±¸·ÝµÄÑÝʾ
1£ºÔÚSQL Server·þÎñÆ÷ÖÐÒÔÓòÓû§ÕÊ»§Æô¶¯SQL Server·þÎñÒÔ¼°SQL Server Agent·þÎñ¡£
±¾ÊµÑéÖÐÖ±½ÓʹÓÃadministratorÕÊ»§£¬¿ÉÒÔ¸ù¾Ýʵ¼Ê»·¾³Çл»ÆäËüÓòÓû§ÕÊ»§¡£
             
 
    2£ºÔÚÎļþ±¸·Ý·þÎñÆ÷Öн¨Á¢Ò»¸ö¹²ÏíÎļþ¼Ð£¬¹²ÏíȨÏÞÖÐɾ³ýeveryoneÓû§£¬¼ÓÈëadministratorÓû§£¬È¨ÏÞÉèÖÃÈçÏÂͼ¡£
           
 
    3£ºÔÚSQL Server·þÎñÆ÷ÖУ¬´ò¿ªÆóÒµ¹ÜÀíÆ÷£¬Ð½¨Êý¾Ý¿âά»¤¼Æ»®£º
 
             
 
¡¡¡¡4£ºÔÚά»¤¼Æ»®Ïòµ¼ÖУ¬Ñ¡Ôñ¼Æ»®±¸·ÝµÄÊý¾Ý¿â£¬ÉèÖúÃÊý¾Ý¿âÓÅ»¯ÐÅÏ¢ºÍ¼ì²éÍêÕûÐԵȲ½Öè¡£
5£ºÔÚÏòµ¼µÄ“Ö¸¶¨Êý¾Ý¿â±¸·Ý¼Æ»®”ÉèÖúõ÷¶È¼Æ»®¡£
6£ºÔÚ“Ö¸¶¨±¸·Ý´ÅÅÌĿ¼”½çÃ棬ÊÖ¶¯ÊäÈëÎļþ±¸·Ý·þÎñÆ÷¹²ÏíÎļþ¼ÐUNC·¾¶¡£
                      
 
         7£ºÔÚ“ÊÂÎñÈÕÖ¾±¸·Ý¼Æ»®”½çÃ棬¸ù¾Ýʵ¼Ê»·¾³¾ö¶¨ÈçºÎ±¸·Ý¡£
8£º°´Ïòµ¼ÉèÖúÃÆäËü²½Ö裬Íê³ÉÒìµØ±¸·Ýά»¤¼Æ»®¡£
 
Èý£º²âÊÔÒìµØ±¸·ÝÊÇ·ñ³É¹¦¡£
1£º¼ì²é¹²ÏíÎļþ¼ÐÖб¸·ÝÎļþÊÇ·


Ïà¹ØÎĵµ£º

sql Óï¾äʹÓÃ

SQLÓï¾ä(Ôö¡¢É¾¡¢¸Ä¡¢²é)
¡¡¡¡
¡¡¡¡Ò»¡¢Ôö£ºÓÐ4ÖÖ·½·¨
¡¡¡¡
¡¡¡¡1.ʹÓÃinsert²åÈëµ¥ÐÐÊý¾Ý£º
¡¡¡¡
¡¡¡¡Óï·¨£ºinsert [into] <±íÃû> [ÁÐÃû] values <ÁÐÖµ>
¡¡¡¡
¡¡¡¡Àý£ºinsert into Strdents (ÐÕÃû,ÐÔ±ð,³öÉúÈÕÆÚ) values ('¿ªÐÄÅóÅó','ÄÐ','1980/6/15')
¡¡¡¡
¡¡¡¡×¢Ò⣺into¿ÉÒÔÊ¡ÂÔ£»ÁÐÃûÁÐÖµÓöºº ......

ʹÓÃSQLÓï¾äÆô¶¯SQL ServerÍâΧ×é¼þ·þÎñ

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'CLR', 0
GO
-- To update the currently configured value for this feature. ......

sqlʱ¼ä±È½Ï²Ù×÷³£Óú¯Êý

--ÈÕÆÚת»»²ÎÊý,ÖµµÃÊÕ²Ø
select CONVERT(varchar, getdate(), 120)
2004-09-12 11:06:08
select convert(varchar(10),getdate() ,120) 
----------
2009-04-09
select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),' ',''),':','')
20040912110608
select CONVERT(varchar(12) , get ......

SQL Server2005Á¬½ÓExcel¡¢Access

ת×Ô£ºhttp://blog.csdn.net/oceanrain/archive/2006/09/26/1289188.aspx
±¾ÎÄÖ÷Òª½éÉÜͨ¹ýSQL Server2005Á¬½ÓExcelºÍAccess,È»ºó·ÃÎÊExcel¹¤×÷²¾ÖеÄÄÚÈݼ°Access±¾µØÊý¾Ý¿âÖеıíÄÚÈݵķ½·¨:
Ò».SQL Server2005ÈçºÎ·ÃÎÊExcelÎļþÖеÄÊý¾Ý£¿
 1.ÔËÐÐ"¿ªÊ¼ \ ³ÌÐò \ Microsoft SQL Server 2005 \ SQL Server Manage ......

CodeSmithÁ¬½ÓAccess,Sql,Oracle,mysql

ACCESSÊý¾Ý¿â
1:CodeSmithÑ¡ÖÐÁ´½ÓÀàÐÍÊÇ£ºADOXSchema
2:ÎÞÃÜÂëµÄAccessÁ´½ÓΪ£º
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hh\db.mdb;
3:ÓÐÃÜÂëµÄAccessÁ´½Ó£º
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\hh\db.mdb;
Jet OLEDB:Database Password=1111
SqlÊý¾Ý¿â
server=192.1.1.14;User ID=test; ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ