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 8079161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T16:01:10+00:00 2026-06-05T16:01:10+00:00

In Oracle, I have a table with a column of data type NUMBER. I

  • 0

In Oracle, I have a table with a column of data type NUMBER. I need to insert a string into a new row I’m about to create. The other rows can certainly remain NUMBERs because usually that’s what I need to insert in them. So is there a way to insert a new row with a string sort of like this(this wouldn’t work for me)?

INSERT INTO keyboard_learning (emplid,wpm,date_completed,exercise,attempt)
VALUES (seq_keyboard_learning.nextval,to_char('LEVEL 3'),'14-JUN-2012','Meteor typing blast',1)

I want to create a new row where usually I would put a number like for example ‘ 23 ‘ in a new row of the WPM column. This time I want to put ‘LEVEL 3’instead just the number 23

  • 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-06-05T16:01:11+00:00Added an answer on June 5, 2026 at 4:01 pm

    Assuming that WPM is the NUMBER column that we’re talking about, no, there is no way to insert a string like "LEVEL 3" into that column without changing the definition of the column. You could convert the column to a VARCHAR2 but that would cause numerous headaches down the line when you want to treat WPM like a number (i.e. have them sort numerically rather than alphabetically, compute percentage improvements, etc.).

    Why do you want to store a string in a WPM column in the first place? It seems likely that the problem is that you need a new column or, perhaps, a new entity in your data model.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an oracle table with a column from type SYS.XMLTYPE and a storage
In Oracle I've created a data type: TABLE of VARCHAR2(200) I want to have
I have this table: create table demo ( key number(10) not null, type varchar2(3)
Suppose I have an oracle table with two columns: type varchar2 and data varchar2.
I have nested table xxx_nested_table in Oracle CREATE OR REPLACE TYPE xxx_tab AS TABLE
I have an Oracle table and a column ( col1 ) has type varchar2(12
In Oracle, I have a table with a column (X) which can have strings
I have a oracle table A which contains a column A.a which used to
I have a table in Oracle where one of the column contains UserIds which
we have a table in an Oracle Database which contains a column with the

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.