if var is NULL then
var :=5;
end if;
Related Contents:
- Is there a combination of “LIKE” and “IN” in SQL?
- What is the string concatenation operator in Oracle?
- SQL error “ORA-01722: invalid number”
- Search All Fields In All Tables For A Specific Value (Oracle)
- Splitting string into multiple rows in Oracle
- How can I get the number of records affected by a stored procedure?
- Is it possible to output a SELECT statement from a PL/SQL block?
- How to check if a column exists before adding it to an existing table in PL/SQL?
- Different CURRENT_TIMESTAMP and SYSDATE in oracle
- Select multiple columns into multiple variables
- SQL to generate a list of numbers from 1 to 100
- What does the colon sign “:” do in a SQL query?
- PL/SQL block problem: No data found error
- IS vs AS keywords for PL/SQL Oracle Function or Procedure Creation [duplicate]
- How to query a CLOB column in Oracle
- create table with sequence.nextval in oracle [duplicate]
- How to use BOOLEAN type in SELECT statement
- Is there any way to flush output from PL/SQL in Oracle?
- How can you tell if a value is not numeric in Oracle?
- ORA-06502: PL/SQL: numeric or value error: character string buffer too small
- How to return multiple rows from the stored procedure? (Oracle PL/SQL)
- Using bind variables with dynamic SELECT INTO clause in PL/SQL
- Sleep function in ORACLE
- Why does Oracle 9i treat an empty string as NULL?
- ORA-00979 not a group by expression
- How do I spool to a CSV formatted file using SQLPLUS?
- How do I get textual contents from BLOB in Oracle SQL
- Search an Oracle database for tables with specific column names?
- What does “select count(1) from table_name” on any database tables mean?
- How do I select all the columns from a table, plus additional columns like ROWNUM?
- SQL Error: ORA-01861: literal does not match format string 01861
- How do you interpret a query’s explain plan?
- Oracle SQL – DATE greater than statement
- OVER clause in Oracle
- Foreign key reference to table in another schema
- LISTAGG function: “result of string concatenation is too long”
- how to increase sqlplus column output length?
- Oracle SQL : timestamps in where clause
- Best way to reset an Oracle sequence to the next value in an existing column?
- Favorite SQL*Plus tips and tricks [closed]
- SQL to add column and comment in table in single command
- Alternatives to LIMIT and OFFSET for paging in Oracle [duplicate]
- Oracle date “Between” Query
- Update statement using with clause
- alter the size of column in table containing data [duplicate]
- Convert timestamp to date in Oracle SQL
- How to insert a string which contains an “&”
- Changing precision of numeric column in Oracle
- Efficient way to update all rows in a table
- What is the difference between CLOB and NCLOB?