Nepethya Rana

Nepethya Rana

  • NA
  • 335
  • 152.9k

How do i set connection to oracle db to get data from Dual?

Mar 27 2017 9:06 AM
I would like to get temporary data so i created this query SELECT 'BMW' as Car, 'Peter' as Owner FROM DUAL UNION ALL SELECT 'Mustang' as Car, 'Joe' as Owner FROM DUAL;
 
I do not know how to set connection to the Data base to execute this query  in DB from my program.
 
 

Answers (8)