Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2014
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. select 'col1,col2,col3,col4'
  2. from dual
  3. union
  4. select col1||','||col2||','||col3||','||col4
  5. from some_table;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement