Which of the following functions does the catalog SQL script perform?

What is catalog SQL in Oracle?

INIT_SQL_FILES = (CATALOG.SQL, CATPROC.SQL ACME_DBA.SQL) In this example, ACME_DBA. SQL is an additional file to run during database creation. The default filenames specified by INIT_SQL_FILES vary by operating system. See your operating system specific Oracle documentation for the default filenames.

Which of the following script should be run to create database dictionary?

To run these scripts, you must be connected to Oracle as a user with SYSDBA privileges.

Creating the Data Dictionary.

Script Name Needed For Description
catproc.sql All databases Runs all scripts required for, or used with, PL/SQL
catclust.sql Real Application Clusters Creates Real Application Clusters data dictionary views

What is the function of Oracle database?

An Oracle database is a collection of data treated as a unit. The purpose of a database is to store and retrieve related information. A database server is the key to solving the problems of information management.

IMPORTANT:  How do I start PHP?

What are the various functions found in Oracle?

Below is the list of Oracle/PLSQL functions, sorted by category (ie: type of function).

  • Numeric/Math Functions. …
  • Date/Time Functions. …
  • Conversion Functions. …
  • Analytic Functions. …
  • Advanced Functions.

What is catalog and Catproc in Oracle?

catalog.sql creates all the data dictionary views, catproc.sql creates system specified stored procedures. pupbld.sql creates the default roles and profiles.

What does Utlrp SQL do?


sql scripts are provided by Oracle to recompile all invalid objects in the database. They are typically run after major database changes such as upgrades or patches. They are located in the $ORACLE_HOME/rdbms/admin directory and provide a wrapper on the UTL_RECOMP package. The utlrp.

What are objects of database?

Databases in Access are composed of four objects: tables, queries, forms, and reports. Together, these objects allow you to enter, store, analyze, and compile your data however you want.

How do I run Utlrp in SQL?

Run the script immediately after installation, to ensure that users do not encounter invalid objects.

  1. Start SQL*Plus: Copy sqlplus “/ AS SYSDBA”
  2. Run the utlrp.sql script, where Oracle_home is the Oracle home path: Copy SQL> @Oracle_home/rdbms/admin/utlrp.sql.

What is catalog SQL Server?

The system catalog consists of tables describing the structure of objects such as databases, base tables, views, and indices. … As a result, the same Transact-SQL statements used to retrieve information in the base tables can also be used to retrieve information in system base tables.

IMPORTANT:  How can I beautify SQL code in Notepad?

What is difference between Oracle and MySQL?

MySQL and Oracle are the two famous relational databases that are used in small and big companies. Although Oracle Corporation supports both databases, they also have a lot of differences.

MySQL vs. Oracle.

Comparison Basis MySQL Oracle
Release It was released in 1995. It was released in 1980.

What is difference between Oracle and SQL?

Oracle supports many “Schemas” with the instance whereas SQL server offers “Schemas” within each user database. Oracle allows database, full, file-level, incremental & differential backups on the other hand, SQL server allows full, partial, and incremental backups.

What is difference between stored procedure and function?

The function must return a value but in Stored Procedure it is optional. Even a procedure can return zero or n values. Functions can have only input parameters for it whereas Procedures can have input or output parameters. Functions can be called from Procedure whereas Procedures cannot be called from a Function.

How many types of functions are there?

One – one function (Injective function) Many – one function. Onto – function (Surjective Function) Into – function.

What is difference between function and procedure in Oracle?

The difference is- A function must return a value (of any type) by default definition of it, whereas in case of a procedure you need to use parameters like OUT or IN OUT parameters to get the results. You can use a function in a normal SQL where as you cannot use a procedure in SQL statements.

What is different between procedure and function?

Function is used to calculate something from a given input. Hence it got its name from Mathematics. While procedure is the set of commands, which are executed in a order.

IMPORTANT:  What is delimiter in Java?
Code Academy