Solved

ASP and ORACLE BLOB question

Posted on 2004-04-06
6
170 Views
Last Modified: 2010-04-06
I am getting an error

Error Type:
Microsoft Cursor Engine (0x80004005)
Key column information is insufficient or incorrect. Too many rows were affected by update.

In an ASP page,  on this line it is trying to assign a value to a variable from ORACLE database
and the datatype of column is BLOB.

Its urgent could anyone please reply.

Thanks
0
Comment
Question by:Preetexpexc
  • 3
6 Comments
 
LVL 7

Expert Comment

by:ramesh12
ID: 10770118
This kind of error usually occurs when you try to update duplicate records.

Finrst find in your table if you have duplicate records
0
 

Author Comment

by:Preetexpexc
ID: 10776921
Hi Ramesh,
0
 

Author Comment

by:Preetexpexc
ID: 10776963
Hi Ramesh,
     I already tried that.
     Its just one row.
     like this
     strqry = select one, two from table where fields = ABC (this 'fields ' is Primary Key)
     objrs.open strQry, objConn, adOpenDynamic, adLockPessimistic, adCmdText
     then extract these two values in two variables.(one variable is NUMBER and two variable is   BLOB).ONE Number is incremented by 1 and BLOB is extracted to a variable and nothing else done
then

objRS.UPDATE ----- This is where I get the error

All Help would be appreciated.

Thanks
 
0
 

Author Comment

by:Preetexpexc
ID: 10777226
OK........ I found the answer all I had to do was select the primary_key of the table in select statement and it works.

Thanks doe everyone's help
0
 

Accepted Solution

by:
PashaMod earned 0 total points
ID: 11006929
PAQed, with points refunded (100)

PashaMod
Community Support Moderator
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
WSDL Soap Error 12 269
Coova-Chilli can't work with URL using HTTPS! 3 214
Select distinct 25 98
How to replace a token in a string with square brackets? 2 68
This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question