What are the difference between DDL, DML and DCL commands?
Filed under: MySQL Interview Questions, Oracle Certification Exams Interview Questions, Oracle Interview Questions, Relational Database Interview Questions
DDL
Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples:
* CREATE – to create objects in the database
* ALTER – alters the structure of the database
* DROP – delete objects from the database
* TRUNCATE – remove all records from a table, including all spaces allocated for the records are removed
* COMMENT – add comments to the data dictionary
* RENAME – rename an object
DML
Data Manipulation Language (DML) statements are used for managing data within schema objects. Some examples:
* SELECT – retrieve data from the a database
* INSERT – insert data into a table
* UPDATE – updates existing data within a table
* DELETE – deletes all records from a table, the space for the records remain
* MERGE – UPSERT operation (insert or update)
* CALL – call a PL/SQL or Java subprogram
* EXPLAIN PLAN – explain access path to data
* LOCK TABLE – control concurrency
DCL
Data Control Language (DCL) statements. Some examples:
* GRANT – gives user’s access privileges to database
* REVOKE – withdraw access privileges given with the GRANT command
What is OCCI Library
Filed under: C++ Interview Questions, Linux Programming Interview Questions, Oracle Certification Exams Interview Questions
Oracle C++ Call Interface (OCCI) is an Application Programming Interface (API) that provides C++ applications access to data in an Oracle database. OCCI enables C++ programmers to utilize the full range of Oracle database operations, including SQL statement processing and object manipulation.
Tools for certificate of the Web server
Filed under: Oracle Certification Exams Interview Questions
You require a certificate for your Web server. Which tool would you use to create a certificate request?
A. OCA User pages
B. Oracle Wallet Manager
C. Application Server Control
D. Oracle Enterprise Security Manager
How will you certificate request in a file system directory by using Oracle Wallet
Filed under: Oracle Certification Exams Interview Questions
You need to save a certificate request in a file system directory by using Oracle Wallet
Manager. What would you do?
A. export the certificate request
B. use the File > Save As option
C. import the certificate request and save it
D. upload the certificate request to the Directory Service
Answer: A.export the certificate request
