Update primary key und foreign key with updategram
- From: "Alex G." <AlexG@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 14:54:01 -0700
Hello,
I have a problem with updating primary- and foreign-key with an updategram.
My Tables
cd (cdID primary key, name string)
song(songID, cdID foreing key, title)
The tables have data.
When I want to update a cdID in the table cd with an updategram like this:
<before>
<cd cdID="1"/>
</before>
<after>
<cdID="11"/>
</after>
The Erroris:
UPDATE statement conflicted with REFERENCE constraint 'song_fk_1'. I know
there is a problem, but how can i update a primary-key and the foreign-key
with an updategram?
Thx
Alex G.
.
- Prev by Date: Re: XML Import options
- Next by Date: Re: XML Import options
- Previous by thread: how to use a connection object to connect
- Next by thread: PDS Problem: ProjectCodeValuesUpdate call not updating View tables
- Index(es):