if not null pl sql oracle
snippet in sql

if not null pl sql oracle

user2052

IF variable IS NOT NULL then
  ...do_something...
END IF;