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

£¨×ª£©SqlserverºÏ²¢¸´ÖƵÄwebͬ²½Ïê½â(ת΢ÈíÈýƪ)2


ÈçºÎΪ Web ͬ²½ÅäÖà IIS
¸üÐÂÈÕÆÚ£º 2006 Äê 12 Ô 12 ÈÕ
±¾Ö÷ÌâÖеĹý³ÌÊÇΪºÏ²¢¸´ÖÆÅäÖà Web ͬ²½µÄµÚ¶þ¸ö²½Öè¡£Ó¦ÔÚΪ Web ͬ²½ÆôÓ÷¢²¼ºóÖ´Ðд˲½Öè¡£ÓйØÅäÖùý³ÌµÄ¸ÅÊö£¬Çë²ÎÔÄ ÅäÖà Web ͬ²½¡£Íê³É±¾Ö÷ÌâÖеĹý³Ìºó£¬Çë¼ÌÐøÖ´ÐеÚÈý¸ö²½Öè“ÅäÖö©ÔÄÒÔʹÓà Web ͬ²½”¡£ÏÂÁÐÖ÷ÌâÖн«½éÉܵÚÈý¸ö²½Ö裺
SQL Server Management Studio: ÈçºÎÅäÖö©ÔÄÒÔʹÓà Web ͬ²½ (SQL Server Management Studio)
¸´ÖÆ Transact-SQL ±à³Ì£º How to: Configure a Subscription to Use Web Synchronization (Replication Transact-SQL Programming)
RMO£º How to: Configure a Subscription to Use Web Synchronization (RMO Programming)
Web ͬ²½Ê¹ÓÃÔËÐÐ Microsoft Internet ÐÅÏ¢·þÎñ (IIS) µÄ¼ÆËã»ú£¬Ê¹ÇëÇó¶©ÔÄÓëºÏ²¢·¢²¼Í¬²½¡£Ö§³Ö IIS 5.0 ºÍ 6.0 °æ¡£
ÖØÒªÌáʾ£º
ÇëÈ·±£ÄúµÄÓ¦ÓóÌÐò½öʹÓà .NET Framework 2.0 »ò¸ü¸ß°æ±¾£¬²¢ÇÒ IIS ·þÎñÆ÷ÉÏûÓа²×° .NET Framework µÄ½ÏÔç°æ±¾¡£½ÏÔç°æ±¾µÄ .NET Framework ¿ÉÄܵ¼Ö´íÎó¡£ÕâЩ´íÎóµÄÄÚÈÝÈçÏ£º“Web ͬ²½ÆÚ¼ä³öÏÖµÄÏûÏ¢µÄ¸ñʽÎÞЧ¡£ÇëÈ·±£ÔÚ Web ·þÎñÆ÷ÉÏÕýÈ·ÅäÖÃÁ˸´ÖÆ×é¼þ”¡£
ÈôҪʹÓà Web ͬ²½£¬±ØÐëͨ¹ýÍê³ÉÒÔϲ½ÖèÀ´ÅäÖà IIS¡£±¾Ö÷Ìâ¶Ôÿ¸ö²½Ö趼½øÐÐÁËÏêϸ˵Ã÷¡£
ÅäÖð²È«Ì×½Ó×Ö²ã (SSL)¡£IIS ºÍËùÓж©ÔÄ·þÎñÆ÷Ö®¼äµÄͨÐÅÐèÒª SSL¡£
ʹÓà SQL Server °²×°Ïòµ¼ÔÚÔËÐÐ IIS µÄ¼ÆËã»úÖа²×° Microsoft SQL Server Á¬½Ó×é¼þ¡£ Èç¹û¼Æ»®Ê¹Óò½Öè 3 ÖÐÌá¼°µÄÅäÖà Web ͬ²½Ïòµ¼£¬ÄÇô»¹±ØÐëÔÚÔËÐÐ IIS µÄ¼ÆËã»úÖа²×° SQL Server Management Studio¡£
Ϊ Web ͬ²½ÅäÖÃÕýÔÚÔËÐÐ IIS µÄ¼ÆËã»ú¡£¿ÉÒÔÊÖ¶¯ÅäÖüÆËã»ú£¬Ò²¿ÉÒÔʹÓÃÅäÖà Web ͬ²½Ïòµ¼¡£½¨ÒéÄúʹÓøÃÏòµ¼¡£
×¢Ò⣺
Èç¹ûÔËÐÐ IIS µÄ¼ÆËã»úÔËÐÐÔÚ 64 λ°æ±¾µÄ Microsoft Windows ÉÏ£¬Ôò±ØÐëÔËÐÐÒÔÏÂÃüÁ²ÅÄÜÈ·±£ÎªÔËÐÐ Internet Server API (ISAPI) Ó¦ÓóÌÐòÕýÈ·ÅäÖÃÁ˸÷þÎñÆ÷£ºcscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1¡£ÓйØÏêϸÐÅÏ¢£¬Çë²ÎÔÄ IIS Îĵµ¡£
Ϊ SQL Server ¸´ÖÆÕìÌýÆ÷ÉèÖÃÏàӦȨÏÞ¡£
ÔÚÕï¶ÏģʽÏÂÔËÐÐ Web ͬ²½£¬ÒÔ±ã²âÊÔÓëÕýÔÚÔËÐÐ IIS µÄ¼ÆËã»úµÄÁ¬½Ó£¬²¢È·±£ÒÑÕýÈ·°²×° SSL Ö¤Êé¡£
 ÅäÖð²È«Ì×½Ó×Ö²ã
ÈôÒªÅäÖà SSL£¬ÇëÖ¸¶¨Ò»¸ö¹©ÕýÔÚÔËÐÐ IIS µÄ¼ÆËã»úʹÓõÄÖ¤Êé¡£ÓÃÓںϲ¢¸´ÖÆµÄ Web ͬ²½Ö§³ÖʹÓ÷þÎñÆ÷


Ïà¹ØÎĵµ£º

SQLServerϵͳ´æ´¢¹ý³Ì

sp_databases --Áгö·þÎñÆ÷ÉϵÄËùÓÐÊý¾Ý¿â
sp_server_info --Áгö·þÎñÆ÷ÐÅÏ¢£¬Èç×Ö·û¼¯£¬°æ±¾ºÍÅÅÁÐ˳Ðò
sp_stored_procedures--Áгöµ±Ç°»·¾³ÖеÄËùÓд洢¹ý³Ì
sp_tables --Áгöµ±Ç°»·¾³ÖÐËùÓпÉÒÔ²éѯµÄ¶ÔÏó
sp_start_job --Á¢¼´Æô¶¯×Ô¶¯»¯ÈÎÎñ
sp_stop_job --Í£Ö¹ÕýÔÚÖ´ÐеÄ×Ô¶¯»¯ÈÎÎñ
sp_password --Ìí¼Ó»òÐ ......

SQLServerÖеÄÑ­»·Åú´¦Àí

  SQLServerÖеÄÑ­»·Åú´¦Àí
GOÃüÁîºóÃæ¼ÓÒ»¸ö³£Á¿¾Í¿ÉÒÔÁË
ÏÂÃæ·½·¨¿ÉÒÔÓÃÀ´¿ìËÙÉú³ÉÒ»ÅúÊý¾Ý
if (object_id ('t' ) is not null ) drop table t
go
create table t (id int identity (1 , 1 ), name varchar (40 ))
go
insert into t (name ) select newid ()
go 10
select * from t
/*
1 &nbs ......

¹ØÓÚSQLServer2005µÄѧϰ±Ê¼Ç——XMLµÄ´¦Àí

ÔÚ
SQLServer2005
ÖжÔ
XML
µÄ´¦Àí¹¦ÄÜÏÔÈ»ÔöÇ¿Á˺ܶ࣬ÌṩÁË
query(),value(),exist(),modify(),nodes()
µÈº¯Êý¡£
¹ØÓÚ
xml
£¬ÄÑÒÔÀí½âµÄ²»ÊÇ
SQLServer
ÌṩµÄº¯Êý£¬¶øÊǶÔ
xml
±¾ÉíµÄÀí½â£¬¿´Ëƺܼòµ¥µÄÎļþ¸ñʽ£¬´¦ÀíÆðÀ´È´ÊǷdz£À§Äѵġ£±¾ÎÄÖ»Êdzõ̽һ϶øÒÑ¡£
Ïê¼û
SQLServer
Áª»ú°ïÖú£º
Ö÷Ìâ
˵ ......

sqlserver »ù´¡ÖªÊ¶´óÕûÀí

SQL-Structured Query Language
--(¿ªÆôSQL·þÎñ£ºnet start mssqlserver)
--(ÔÚÃüÁîÐÐÖÐÊäÈë'sqlwb'ÃüÁî¿É´ò¿ªSQL¹ÜÀíÆ÷ )
--(Èç¹ûÒªÖ´ÐжàÌõÃüÁîÖеÄÒ»Ìõ,Êó±êÑ¡¶¨ºóÔÙ°´F5Ö´ÐÐ)
create database sales --´´½¨Ò»¸öÃûΪsalesµÄÊý¾Ý¿â
on
(
name='sales_dat ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ