Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> select in oracle

select in oracle

From: tim leung <m_010_at_yahoo.com>
Date: Tue, 09 Jan 2001 02:22:03 GMT
Message-ID: <3a5b75bd.17490718@enews.newsguy.com>

Hi,
I have an oracle table like the following:

SQL> describe platform;

 Name                          Null?    Type
 --------------------------------------------
 PLATFORMID            NUMBER(1)
 NAME                  VARCHAR2(128)
 DESCRIPTION           VARCHAR2(255)


But when I try to get a simple select statement. I get an erorr:

SQL> select * from platform where name = Win32; Input truncated to 1 characters
select * from platform where name = Win32

                                    *

ERROR at line 1:
ORA-00904: invalid column name

I need a single quote:
SQL> select * from platform where name = 'WIN32';

Is that I must use a single quote? Is that oracle on NT is not case sensitive? Since I can use upper and lower case for table name. Thanks. Received on Mon Jan 08 2001 - 20:22:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US