Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PL-SQL Expert

Keyword & Parameter Description:

boolean_expression:

This is an expression which yields the Boolean value that is TRUE, FALSE, & NULL.

character_expression:

This is an expression which yields a character or the character string.

date_expression:

This is an expression which yields a date/time value.

numeric_expression:

This is an expression which yields a real value or an integer value.

NOT, AND, OR:

These are the logical operators that follow the tri-state logic. The AND returns the value TRUE only when both its operands are true. The OR returns the value TRUE if either of its operands is true. The NOT returns the reverse value (logical negation) of its operand. The NOT NULL returns NULL as nulls are undetermined

boolean_constant_name:

This identifies a constant of the type BOOLEAN, that must be initialized to the value TRUE, FALSE, & NULL. The Arithmetic operations on Boolean constants are illegal.

boolean_function_call:

This is any of the function call which returns a Boolean value.

boolean_literal:

This is the predefined value that is; TRUE, FALSE, or NULL (that stands for an unknown, missing, or inapplicable value). You can't insert the value TRUE or FALSE into the database column.

boolean_variable_name:

These identify a variable of the type BOOLEAN. The values TRUE, FALSE, and NULL can only be assigned to a BOOLEAN variable. You cannot select or fetch the column values into a BOOLEAN variable. The arithmetic operations on BOOLEAN variables are also illegal.

relational_operator:

This operator allows you to compare the expressions.

IS [NOT] NULL:

This comparison operator proceeds the Boolean value TRUE whenever its operand is null, or FALSE when its operand is not null.

[NOT] LIKE:

These comparison operators compare a character value to a pattern. The Case is significant. The LIKE returns the Boolean value TRUE when the character patterns equivalent or FALSE if they do not match.

Pattern:

This is a character string compare by the LIKE operator to the specified string value. It can involve two special-purpose characters known as the wildcards. An underscore (_) match exactly one character; a percent sign (%) match zero or more characters.

[NOT] BETWEEN:

This comparison operator tests whether a value lies in the specific range. That means "The bigger than or equal to minimum value & less than or equivalent to the maximum value."

[NOT] IN:

This comparison operator tests the set membership. That means "equivalent to any member of." The set can encompass only nulls, but they are ignored. Also, the expressions of the form value NOT IN set yield FALSE whenever the set contains a null.

cursor_name:

This identifies an explicit cursor formerly declared within the present scope.

cursor_variable_name:

This identifies the PL/SQL cursor variable formerly declared within the present scope.

host_cursor_variable_name:

This identifies a cursor variable declared in the PL/SQL host atmosphere and passed to the PL/SQL as a bind variable. The Host cursor variables should be prefixed with a colon.

SQL:

This identifies a cursor opened implicitly by the Oracle to process the SQL data manipulation statement. The implicit SQL cursor forever refers to the most newly executed SQL statement.

%FOUND, %ISOPEN, %NOTFOUND, %ROWCOUNT:

These are the cursor attributes. When appended to the name of the cursor or cursor variable, these attributes return helpful information about the execution of a multi-row query. You can also add them to the implicit the SQL cursor.

EXISTS, COUNT, FIRST, NEXT, LAST, LIMIT, PRIOR:

These are the collection methods. When appended to the name of the collection, these methods return helpful information. For illustration, the EXISTS(n) returns TRUE if the nth element of a collection exists. Or else, the EXISTS(n) returns FALSE.

Index:

This is a numeric expression which must yield a value of the type BINARY_INTEGER or a value implicitly exchangeable to that datatype.

host_variable_name:

This identifies a variable declared in the PL/SQL host atmosphere and passed to the PL/SQL as a bind variable. The datatype of the host variable should be implicitly convertible to the suitable PL/SQL datatype. Also, the host variables should be prefixed with a colon.

indicator_name:

This identifies an indicator variable declared in the PL/SQL host atmosphere and passed to PL/SQL. The Indicator variables should be prefixed with a colon. Indicator variables "indicate" the value or the condition of its related host variable. For illustration, in the Oracle Precompiled atmosphere, the indicator variables can detect nulls or truncated values in the output host variables.

numeric_constant_name:

This identifies a formerly declared constant which stores a numeric value. It should be initialized to a numeric value or a value implicitly convertible to the numeric value.

numeric_function_call:

This is a function call which returns a numeric value or a value implicitly convertible to the numeric value.

numeric_literal:

This is a literal which represents a numeric value or a value implicitly convertible to the numeric value. 

collection_name:

This identifies the index-by table, nested table, or varray formerly declared within the present scope.

numeric_variable_name:

This identifies a formerly declared variable which stores a numeric value.

NULL:

This keyword presents a null; it stands for an unknown, missing, or inapplicable value. When NULL is used in the numeric or date expression, then the result is a null.

Exponent:

This is an expression which should results a numeric value.

-,+, /, *, **

These symbols are the subtraction, addition, division, multiplication, and exponentiation operators, correspondingly.

character_constant_name:

This identifies a formerly declared constant which stores a character value. It should be initialized to a character value or a value implicitly convertible to the character value.

character_function_call:

This is a function call which returns a character value or a value implicitly convertible to the character value.

character_literal:

This is a literal which represents a character value or a value implicitly convertible to the character value.

character_variable_name:

This identifies a formerly declared variable which stores a character value.

||:

This is a concatenation operator. As the illustration below shows, the result of concatenating string1 with string2 is a character string which contains the string1 followed by the string2:

'Good' || ' morning!' = 'Good morning!'

The next illustration shows that the nulls have no effect on the result of the concatenation:

'suit' || NULL || 'case' = 'suitcase'

A null string (''), that is zero characters in length, is treated like a null.

date_constant_name:

This identifies a formerly declared constant which stores a date value. It should be initialized to a date value or a value implicitly convertible to the date value.

date_function_call:

This is a function call which returns a date value or a value implicitly convertible to the date value.

date_literal:

This is a literal which represents a date value or a value implicitly convertible to the date value.

date_variable_name:

This identifies a formerly declared variable which stores a date value.

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M9510681

Have any Question?


Related Questions in PL-SQL

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As