I am trying to write a script that will create insert statements that will look like:
INSERT INTO t_peep VALUES ('col1', 'col2', 'col3');
The problem that I am having with my select statement is being able to add the single quotes.
Select 'INSERT INTO t_peep VALUES ('<need single quote>col1<need single quote>, etc ||');'
Any hints?
Thanks in advance
INSERT INTO t_peep VALUES ('col1', 'col2', 'col3');
The problem that I am having with my select statement is being able to add the single quotes.
Select 'INSERT INTO t_peep VALUES ('<need single quote>col1<need single quote>, etc ||');'
Any hints?
Thanks in advance