I am writing some simple SELECT statments for use with Oracle. I am more familiar and use MySQL.
I am having some problems with the following:
SELECT "Contact_Id", "Company_Id"
FROM contact
WHERE rownum <= 11
it is requiring me to use quotes around the field names and from all that I read and examples that I looked at, quotes are not required.
So I am having to create variable names to place into the SELECT statement
$contact_id = '"Contact_Id"';
$company_id = '"Company_Id"';
SELECT $contact_id, $company_id,......
It is just one extra step and does not have to be done in MYSql. Is there something that I am doing wrong or is it standard. I just started recently working with PHP/Oracle.
Any help would be appreciated!