Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6226979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:07:55+00:00 2026-05-24T09:07:55+00:00

Oracle Newbie Here: I just started out creating my first Oracle database table. I

  • 0

Oracle Newbie Here:

I just started out creating my first Oracle database table.
I have downloaded the Oracle 10G Express Edition

CREATE TABLE  "EMPLOYEE_INFO" 
(   "ID" NUMBER(5,0) NOT NULL ENABLE, 
"FIRST_NAME" VARCHAR2(50), 
"LAST_NAME" VARCHAR2(50), 
"SEX" VARCHAR2(1), 
"BIRTHDAY" DATE, 
 CONSTRAINT "EMPLOYEE_INFO" PRIMARY KEY ("ID") ENABLE
)

Is there a way that I could make the table “case-insensitive”?
I notice that when you insert data in the column SEX = ‘m’ and
I perform a query such as

select * from
EMPLOYEE_INFO where
sex = 'M';

This does not return any data.

Sorry if my question is very elementary, its my first time to use Oracle DB.
Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:07:56+00:00Added an answer on May 24, 2026 at 9:07 am

    You can try with upper (or lower):

    Select *
    from employee_info
    where upper(sex)='M'
    

    But be careful, if you have an index in sex, you will lose it! If your sex column is mixed case and you need a function, you can create a Function Based Index on either UPPER(SEX) or LOWER(SEX).
    If ‘M’ can be a lower case too, you need to add upper too:

    Select *
    from employee_info
     where upper(sex)=upper(:parameter)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm a pl/sql newbie. now i have a question about oracle type . i
Oracle installed on the server is 10.2.0.3 Enterprise Edition 64bit (10g). ODAC is showing
Complete Oracle n00b here. I have to maintain a legacy form that was developed
I am a complete SQL Server newbie but I have experience with Oracle and
In Oracle, I have a table called MyTable. This table has columns 'A' and
I have an Oracle database that runs a PL/SQl job once every week to
Oracle FAQ defines temp table space as follows: Temporary tablespaces are used to manage
Oracle has this concept of allowing database users to be identified by the operating
Oracle purchased BEA and their WebLogic suite of tools. They still have a competing
In Oracle, what is the difference between : CREATE TABLE CLIENT ( NAME VARCHAR2(11

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.