All,

I'm trying to use the INSERT OR REPLACE syntax so that I don't have to worry 
about duplicate entries without creating a trigger.  Using the schema:
CREATE TABLE messages (id numeric);

and using the SQL:
insert or replace into messages values (1);

Why does this result in multiple rows of the same value?  I'm I just not 
understanding the syntax correctly?

Thanks,


Jerry Tilsley, CIS Lvl 2
Information Services | St. Claire Regional Medical Center
Jerry.Tilsley at st-claire.org

________________________________

Disclaimer****
This email is confidential and intended solely for the use of the individual to 
whom it is addressed. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of St. Claire Regional Medical 
Center. If you are not the intended recipient, be advised that you have 
received this email in error and that any use, dissemination, forwarding, 
printing or copying of the email is strictly prohibited. If you received this 
email in error please notify the St. Claire Regional Helpdesk by telephone at 
606-783-6565.

Reply via email to