Skip to content

Instantly share code, notes, and snippets.

@tsundara
Created July 21, 2017 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsundara/e4bf1f34b455022345a9a8569b76495c to your computer and use it in GitHub Desktop.
Save tsundara/e4bf1f34b455022345a9a8569b76495c to your computer and use it in GitHub Desktop.
select * from MYTABLE
where MYCOLUMN like (
select '%'||to_number(to_char(dbms_random.value(1,999), '000'))||'%' num from dual
)
order by MYCOLUMN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment