I would like to append a few rows to an already existing table (15 rows to be precise). What is the quickest way to do this?
This works, but it seems redundant.
select person_id from people_table
union all
select '0010' as person_id from dual
union all
select '0019' as person_id from dual
union all
select '0085' as person_id from dual
I was wondering if there's a solution along the lines of:
select person_id from people_table
union all
select ('0010','0019','0085') as person_id from dual
Please note that I want to preserve the leading zeros for each element in my list. This post is almost what I'm looking for, but it converts each element to integers and drops the leading zeros.