OLE DB kev twb kev txuas yog dab tsi?
OLE DB kev twb kev txuas yog dab tsi?

Video: OLE DB kev twb kev txuas yog dab tsi?

Video: OLE DB kev twb kev txuas yog dab tsi?
Video: Wb zaj dab neeg sib hlub tsis tau (Full version) - ZAJ DUB nkauj tawm tshiab 2024, Kaum ib hlis
Anonim

OLE IB (Txoj kev sib txuas thiab embedding, Database , tej zaum sau li OLEDB los yog OLE - DB ), API tsim los ntawm Microsoft, tso cai rau kev nkag mus rau cov ntaub ntawv los ntawm ntau qhov chaw hauv ib yam nkaus.

Tib neeg kuj nug, OLE DB tsav tsheb yog dab tsi?

Cov OLE DB Driver rau SQL neeg rau zaub mov yog ib tug stand-alone data access application programming interface (API), siv rau OLE IB , uas tau qhia hauv SQL Server 2005 (9. OLE DB Driver rau SQL Server xa SQL OLE DB tsav tsheb hauv ib lub tsev qiv ntawv dynamic-link (DLL).

Tsis tas li, vim li cas peb thiaj siv Oledb kev sib txuas? Ib OleDbConnection khoom sawv cev rau ib tug tshwj xeeb kev sib txuas mus rau ib tug ntaub ntawv qhov chaw. Nrog tus neeg siv khoom / server database system, nws sib npaug rau lub network kev sib txuas mus rau lub server. Nyob ntawm lub functionality txhawb los ntawm cov neeg hauv zos OLE IB tus kws kho mob, qee txoj hauv kev lossis cov khoom ntawm ib qho OleDbConnection yam khoom yuav tsis muaj.

Ib yam li ntawd, tib neeg nug, OLE DB thiab ODBC yog dab tsi?

Technically hais, ODBC (Qhib Database Connectivity) yog tsim los muab kev nkag tau rau feem ntau ntawm SQL cov ntaub ntawv hauv ib puag ncig ntau lub platform. OLE IB (Object Linking and Embedding Database) yog tsim los muab kev nkag mus rau txhua hom ntaub ntawv hauv ib qho OLE Ib puag ncig ntawm Cov Khoom Siv Khoom (COM)

Kuv yuav nrhiav tau kuv tus kws kho mob OLE DB li cas?

Txhua tus kws kho mob muaj GUID cuam tshuam nrog nws cov chav kawm. Txhawm rau nrhiav cov lus qhia, qhib regedit thiab tshawb cov npe rau cov tus kws kho mob npe. Piv txwv li, nrhiav "Microsoft Jet 4.0 OLE DB tus kws kho mob ". Thaum koj pom nws, luam tus yuam sij (tus nqi GUID) thiab siv qhov ntawd hauv kev tshawb nrhiav hauv koj daim ntawv thov.

Pom zoo: