DEFINE
DEF[INE] var = text
					

Creates a variable and assigns a text string to it.

DEF[INE] [var]

Lists the current value of a specified user variable or of all user variables.

Keywords

var

Specifies the name of a SQL*Plus variable.

text

Specifies a string of CHAR text that will be stored in var.

Get Oracle SQL: the Essential Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.