I want to generate an output with blank/empty column with a "Select" query in oracle. I'm able to achieve this with below sql query:
SELECT CustomerName AS Customer, "" AS Contact
FROM Customers;
So when I run above sql query it returns a table with two columns "Customer" column with content in it and "Contact" column with no content or blank column. I want to achieve same with oracle query. Any help will be highly appreciated.
"" AS Contactwould be'' AS ContactNote also, in Oracle,NULLand the empty string''are the same thing.'' AS Contactas you suggested in sql developer tool but I is generating (null) in each row of Contact column. My requirement is to generate blank/empty rows in Contact column. FYI, if I run"" AS Contactquery on H2 database it is generating blank/empty rows. Actually my requirement is to convert already existing sql query on H2 database to Oracle database.