473,385 Members | 1,908 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Constraint

I am getting this error mesage while verfying this constraint
ERROR ORA-00911 INVALIDE CARACTERE
ANY HELP WILL APPRECIATED TKS.

SELECT table_name
FROM user_tables
WHERE table_name IN (’MEMBER’, ’TITLE’, ’TITLE_COPY’, ’RENTAL’, ’RESERVATION’);
Mar 13 '07 #1
8 1425
mivey4
37
I am getting this error mesage while verfying this constraint
ERROR ORA-00911 INVALIDE CARACTERE
ANY HELP WILL APPRECIATED TKS.

SELECT table_name
FROM user_tables
WHERE table_name IN (’MEMBER’, ’TITLE’, ’TITLE_COPY’, ’RENTAL’, ’RESERVATION’);
Out of curiosity......

What happens if you copy the statement from your post and paste it as a query instead of typing it? Do you recieve the same error?

mivey4
Mar 13 '07 #2
vijaydiwakar
579 512MB
I am getting this error mesage while verfying this constraint
ERROR ORA-00911 INVALIDE CARACTERE
ANY HELP WILL APPRECIATED TKS.

SELECT table_name
FROM user_tables
WHERE table_name IN (’MEMBER’, ’TITLE’, ’TITLE_COPY’, ’RENTAL’, ’RESERVATION’);
there is no problem at all inthis qry just copy it properly
and paste it
Mar 14 '07 #3
even if I copy and paste I still have the same error message.
INVALIDE CARACTERE. ORA-00911
Mar 14 '07 #4
mivey4
37
even if I copy and paste I still have the same error message.
INVALIDE CARACTERE. ORA-00911
Hi Rashad1974,

Try running the following query and tell me if it results with the same error:

SELECT USERNAME FROM ALL_USERS
WHERE USERNAME LIKE 'A%';

Also, determine what character set you are running on the system if possible
by running:

SELECT * FROM SYS.PROPS$
WHERE NAME LIKE 'NLS%';

Then post the NLS_LANGUAGE, NLS_CHARACTERSET and NLS_NCHAR_CHARACTERSET VALUES here.

My suspicion is that either you're having some internal issues with your system
or there may be a problem with your installed characterset prohibiting you from executing your query.

Thanks.
Mar 14 '07 #5
Hi Dear

This is what I get with fisrt select Statement
USERNAME
------------------------------
ANONYMOUS


I think I am using wrong character
Mar 14 '07 #6
I got it right
the problem was that I was using wrong character


tk u very much.
Mar 14 '07 #7
mivey4
37
I got it right
the problem was that I was using wrong character


tk u very much.
Great!! I am happy you have a resolution.
Have a good one.
Mar 14 '07 #8
Killer42
8,435 Expert 8TB
...the problem was that I was using wrong character
Wrong quote character? It looked like it, when I pasted your query into Notepad. With all the different fonts around, you have to watch that.
Mar 14 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

26
by: Agoston Bejo | last post by:
I want to enforce such a constraint on a column that would ensure that the values be all unique, but this wouldn't apply to NULL values. (I.e. there may be more than one NULL value in the column.)...
4
by: wireless | last post by:
I've written code that dynamically builds an sql query based on various constraint possibilities. The problem is the code would have been very complex had I not come up with a dummy constraint...
2
by: adammitchell | last post by:
How can you indicate that a FOREIGN KEY constraint references two columns in two different tables? "SQL Server Books Online" show an example of how to reference two columns in the SAME table:...
3
by: ferg | last post by:
I have a Customer table. The table has two different CHECK constraints. Then there is the Customer details dialog, which provides the user with an UI for changing users. I have some UPDATE sql,...
3
by: Jeff Kish | last post by:
Hi. I'm getting errors like this when I try to run an upgrade script I'm trying to write/test: altering labels to length 60 Server: Msg 5074, Level 16, State 4, Line 5 The object...
10
by: Laurence | last post by:
Hi there, How to differentiate between unique constraint and unique index? These are very similar but I cannot differentiate them? Could someone give me a hand? Thanks in advance
4
by: antpal | last post by:
I am not sure exactly what i am doing run but when I run this code in sql plus i get constraint error on most of my tables except author and books table. Please help I am new to Programming in...
2
by: Kenneth Koenraadt | last post by:
Hi Wing, The utility Oracle offers for that is *check constraints*. For instance : ALTER TABLE Demerit ADD CONSTRAINT a1 CHECK (points between 1 and 6); ALTER TABLE Demerit ADD CONSTRAINT...
15
by: Frank Swarbrick | last post by:
I have the following three tables DROP TABLE CALLTRAK.SERVICE_CODES @ CREATE TABLE CALLTRAK.SERVICE_CODES ( CODE CHAR(1) NOT NULL , CONSTRAINT SERVICE_CODES_PK PRIMARY KEY (CODE) ,...
2
by: rorajoey | last post by:
Violation of UNIQUE KEY constraint 'IX_surveyQuestions'. Cannot insert duplicate key in object 'dbo.surveyQuestions'. This might seem like a simple matter of trying to insert a row with ID=20 when...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.