473,386 Members | 1,679 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,386 software developers and data experts.

Identifier too long

Hello,
when i try to execute the code it says,
ORA-00972: identifier is too long at adapter1.Fill(Ora_Dataset)

Expand|Select|Wrap|Line Numbers
  1. Sub BindGrid()
  2. sSql=”Select * from Audit_Exceptions where Audit_ID=’”+ sauditid +”’ and TO_CHAR(Audit_Date,’MM/DD/YYYY’)= ‘”+sauditdate +”’ and Exception_Status=’”+ exceptionStatus+”’”
  3.  
  4. adapter1=New OracleDataAdapter(sSql,Ora_Conn)
  5. adapter1.Fill(Ora_DataSet )
  6. grid.DataSource=Ora_DataSet
  7. grid.DataBind()
  8. EndSub
  9.  
When i selected the values in dropdownlist and click a button(which is that page below the dropdownlists) it shows me this error!

where auditdate has a DATE datatype
Auditid has Number datatype
Exceptionstatus has varchar datatype

When i keep break points on this code and whenevr the SQL stmt shows values in watch window i just copied the statement and executed in ORACLE
it gave me the result.
I tried every possibility,by creating a new table again and changing the column names.But still it didn't wrk!!!
Dec 15 '07 #1
1 3062
kenobewan
4,871 Expert 4TB
Oracle Product Document Library (C) Oracle Corporation
Manual: Database Error Reference: A90202-02

ORA-00972 identifier is too long

Cause: The name of a schema object exceeds 30 characters. Schema objects are tables, clusters, views, indexes, synonyms, tablespaces, and usernames.

Action: Shorten the name to 30 characters or less.
Could also be your sql statement. HTH.
Dec 15 '07 #2

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

Similar topics

3
by: Marc W | last post by:
Hello, I am trying to write some code, I get a compiler error, but the help about it is very limited. (I am working with MSVC++ 6.0.) Could you give me a hint what is wrong here please? ...
6
by: craigbeanhead | last post by:
Hi, I'm teaching myself C from K&R2. I've come across something that I really don't understand. When I try to compile the following code (in VC++7), I get an "undeclared identifier" error. When...
46
by: James Harris | last post by:
Before I embark on a new long-term project I'd appreciate your advice on how to split up long names. I would like to keep the standards for command names the same as that for variable names....
7
by: Kobu | last post by:
The code below isn't compiling for me (error message: conflicting types for 'total' - pointing to the extern declaration). Why wouldn't this work, since the types are different, the extern...
9
by: nomadcontauroi | last post by:
iam wondering if a function name,say sum,could serve as an identifier? thanks.
1
by: Pedro | last post by:
Hi, i'm trying to run a stored procedure: "EXECUTE dbname.dbo.spGid 'KFT', '0000000011,0000000012', 'merch,DSMT', '2006-02-01 00:00:00', '2006-02-28 00:00:00'" and gives me this error: The...
3
by: David T. Ashley | last post by:
I have this ugly habit of prefixing all function and variable names with some identifying information about the owning module and perhaps also the subcategory of function, i.e. ...
8
by: DaTurk | last post by:
Hi, I was just curious how you would go about creating a unique identifier with 3 ints.
0
by: Gordon Burditt | last post by:
>----------------------------- 8< ---------------------------------- Not if you include <string.h>, in which case the second paragraph above is an issue. Otherwise, it's OK. It's OK, but I...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.