Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

Hello friends, I want to know what the data type can be declared in pl/sql, but cannot be declared in sql?

That question is ambiguous: there is NOT a SINGLE type of data that can be declared in pl/sql, but not in sql.

The Oracle documentaton is your friend.

The doc of the SQL language treats the SQL data types.

http://docs.Oracle.com/CD/B28359_01/server.111/b28318/datatype.htm

The doc PL/SQL does PL/SQL data types. Because PL/SQL is a language of proceedings (and sql is NOT) there are several types of data, as shown in this doc, PL/SQL-specific:

PL/SQL scalar data types are:

  • SQL data types
  • BOOLEAN
  • PLS_INTEGER
  • BINARY_INTEGER
  • REFCURSORexplained in "Cursor Variables"
  • User-defined subtypes

ALWAYS start with the Oracle documentation for these fundamental questions.

Several times, as with this question, the question is too general to give a simple answer.

Tags: Database

Similar Questions

Maybe you are looking for