Skip to content

Instantly share code, notes, and snippets.

@davidwaterston
Created September 20, 2012 11:40
Show Gist options
  • Select an option

  • Save davidwaterston/3755428 to your computer and use it in GitHub Desktop.

Select an option

Save davidwaterston/3755428 to your computer and use it in GitHub Desktop.
Oracle: Check if a table contains any data
select 1
from __TABLE_NAME__
where rownum = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment