View previous topic :: View next topic
|
Author |
Message |
karthikuma
New User
Joined: 29 Mar 2005 Posts: 62
|
|
|
|
Hi,
i'm having very simple doubt.how to recify the sqlcode -803(it's an unique index).how to view that code.by going thru sdsf or thru spufi.plz any one explain.if i'm geting any sqlcode where i've to view the error ,in spufi or in spool.
Regards,
kumar. |
|
Back to top |
|
|
brganeshbabu
New User
Joined: 23 Jun 2005 Posts: 34 Location: Chennai
|
|
|
|
Your question is not that much clear. But still I will try to explain you.
When you execute a query from SPUFI, however you will get the sqlcode after you execute the query. If you are running an embedded sql you can find the sqlcode in SPOOL. When you try to insert into a table whose value already exists this kind of error arises. You have to change the index value and insert it again.
If this is not the answer pl make your question clear. Or tell me what you really tried to do. |
|
Back to top |
|
|
Girishm
New User
Joined: 09 Mar 2005 Posts: 35 Location: Mysore
|
|
|
|
Hi Karthik,
Check the definition of all the columns which are involved in ur query, at least one of them are defiened as UNIQUE. The value that u r trying to insert/update is present in the table, so duplicates were not allowed for those columns.
Please inform me, if it is not the case...
_______
GM |
|
Back to top |
|
|
|