Hello,
I have this query that returns all the valid email addresses from a table on the database:
SELECT distinct trim(user_email_address) || ';'
FROM table a
WHERE active_status <> 0 and user_email_address is not null ;
The records returned are in the following format:
abc@ws.com;
xhj@ws.com;
sd@ws.com;
and so on....
How do I build a text file from this query to build the output to look like abc@ws.com;xhj@ws.com;sd@ws.com;and so on....so that then I could just copy from the text file and paste it into my email.
Thanks.
I have this query that returns all the valid email addresses from a table on the database:
SELECT distinct trim(user_email_address) || ';'
FROM table a
WHERE active_status <> 0 and user_email_address is not null ;
The records returned are in the following format:
abc@ws.com;
xhj@ws.com;
sd@ws.com;
and so on....
How do I build a text file from this query to build the output to look like abc@ws.com;xhj@ws.com;sd@ws.com;and so on....so that then I could just copy from the text file and paste it into my email.
Thanks.