Qhov twg yog SQL * Plus hais kom ua?
Qhov twg yog SQL * Plus hais kom ua?

Video: Qhov twg yog SQL * Plus hais kom ua?

Video: Qhov twg yog SQL * Plus hais kom ua?
Video: Kev Muag Khoom thiab Kev Sib Cuam Tshuam Nrog Cov Neeg Qhua Yam Muaj Kev Nyab Xeeb 2024, Hlis ntuj nqeg
Anonim

SQL*Plus yog a lus txib -line tool uas muab kev nkag mus rau Oracle RDBMS. SQL*Plus enablesyouto: Nkag mus thiab ua tiav SQL lus txib thiab PL/ SQL ntawv blocks. Format thiab luam cov lus nug.

Tsis tas li ntawd, kuv yuav siv SQL Plus li cas?

  1. SQL*Plus yog cov cuab yeej hais kom ua kab uas tau teeb tsa nrog OracleDatabase.
  2. Txhawm rau pib SQL*Plus, xaiv Khiav cov lus txib los ntawm Startmenu, nkag mus rau "sqlplus", thiab xaiv OK khawm.
  3. Txhawm rau txuas rau lub database, sau tus username thiab password.
  4. Txhawm rau khiav SQL nqe lus, ntaus nws, ntaus ib lub cim, thiab nias tus yuam sij Enter.

Ib yam li ntawd, kuv yuav tawm SQL Plus li cas? Rau tawm SQL * Ntxiv kab hais kom ua, nkag mus Tawm . Rau tawm lub Windows GUI, nkag mus Tawm los xaiv Tawm los ntawm cov ntawv qhia zaub mov. Ib SQL ntawv * Ntxiv , cov Tawm los yog QUIT commandhalts tsab ntawv tam sim no khiav, nws tsis xaus koj qhov kev sib tham.

Kuj Paub, SQL commands yog dab tsi?

Cov lus txib yog CREATE, ALTER, DROP, RENAME, thiab TRUNCATE. Data Manipulation Language (DML) - Cov no SQL lus txib yog siv rau khaws cia, rov qab, hloov kho, thiab tshem tawm cov ntaub ntawv. Cov ntaub ntawv Manipulation Language lus txib yog: SELECT, INSERT, UPDATE, thiab DELETE.

Oracle spool hais kom ua yog dab tsi?

Teb: Cov SPOOL hais kom ua ua rau SQL*Plus sau cov txiaj ntsig rau cov ntaub ntawv ntawm lub operating system. SQL> spool /tmp/myfile.lst.

Pom zoo: