Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't insert into table
Message
 
 
To
18/08/2002 21:37:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00690918
Message ID:
00690919
Views:
15
You can get index info using system stored procedure.
sp_helpindex studemo
>Hello group
>
>I am trying to update a table with fresh data. with the following syntax
>
>DELETE FROM studemo WHERE suniq in (SELECT suniq FROM cisstudemo)
>
>INSERT INTO studemo
>SELECT * FROM cisstudemo
>
>I get the following message.
>
>
>Server: Msg 2601, Level 14, State 3, Line 3
>Cannot insert duplicate key row in object 'studemo' with unique index 'studemU1'.
>The statement has been terminated.
>What can I do to find unique index studemU1 or work around this?
>Thanks
>Jim
>
>The table definitions
>
>are
>
< snip >
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform