Cov txheej txheem:

Dab tsi yog txuas server hauv SQL?
Dab tsi yog txuas server hauv SQL?

Video: Dab tsi yog txuas server hauv SQL?

Video: Dab tsi yog txuas server hauv SQL?
Video: UA LI CAS THIAJ TSI MUAJ MENYUAM 2024, Tej zaum
Anonim

Txuas Servers tso cai rau koj mus txuas rau lwm qhov chaw database ntawm tib yam server los yog ntawm lwm lub tshuab lossis chaw taws teeb servers. Nws tso cai SQL Server ua SQL ntawv scripts tiv thaiv OLE DB cov ntaub ntawv qhov chaw ntawm cov chaw taws teeb servers siv OLE DB cov chaw muab kev pab.

Hais txog qhov no, kuv yuav nrhiav tau cov servers txuas hauv SQL li cas?

Txhawm rau pom txhua tus tsim txuas servers hauv SSMS, nyob rau hauv Object Explorer, xaiv Server Objects nplaub tshev thiab nthuav cov Linked Servers folder:

  1. Txhawm rau tsim ib tus neeg rau zaub mov txuas hauv SSMS, txoj nyem rau ntawm Linked Servers nplaub tshev thiab los ntawm cov ntawv qhia zaub mov xaiv qhov kev xaiv Tshiab Linked Server:
  2. Lub New Linked Server dialog tshwm:

Tom qab, lo lus nug yog, Linked Servers phem? Txuas servers yog ib txoj hauv kev yooj yim los ua tej thaj chaw deb cov ntaub ntawv tshwm sim rau SQL Server raws li ib tug neeg lub rooj los ntawm cov lus nug foundations. Yog li ntawd, tag nrho cov kev ua ub no ntawm lub txuas lub rooj yog ua los ntawm kev siv lub rooj scan. Yog hais tias lub rooj tej thaj chaw deb loj, qhov no tuaj yeem txaus ntshai thaum nws los txog rau kev ua haujlwm.

Ntawm no, kuv yuav ua li cas los tsim ib lub server txuas hauv SQL?

Txhawm rau ntxiv cov neeg siv txuas txuas siv SSMS (SQL Server Management Studio), qhib lub server koj xav tsim qhov txuas los ntawm cov khoom tshawb nrhiav

  1. Hauv SSMS, Nthuav Cov Khoom Siv Hluav Taws Xob -> Txuas Servers -> (Txoj cai nyem rau ntawm Linked Server Folder thiab xaiv "Tshiab Linked Server")
  2. Qhov "New Linked Server" Dialog tshwm.

Yuav ua li cas koj rho tawm ib qhov txuas txuas hauv SQL Server?

Rau tshem tawm a txuas server , siv sp_dropserver txheej txheem khaws cia. Qhov no tshem tawm ib server los ntawm cov npe ntawm cov chaw taws teeb paub thiab txuas servers nyob rau hauv lub zos piv txwv ntawm SQL Server . Cov txheej txheem khaws cia no lees txais ob qhov kev sib cav: tus server lub npe, thiab ib qho kev sib cav xaiv rau tshem tawm cov kev nkag mus cuam tshuam nrog server.

Pom zoo: