SQL Replace Into question
Posted
by Matt
on Stack Overflow
See other posts from Stack Overflow
or by Matt
Published on 2010-04-30T09:12:50Z
Indexed on
2010/04/30
9:17 UTC
Read the original article
Hit count: 473
With Replace Into, if I have two fields. FirstName LastName. The table has John Smith in it, if I was to run REPLACE INTO tblNames (FirstName, LastName) VALUES (John, Jones) Would that replace Smith with Jones, or create a new name?
What determines if its an Update or and Insert?
© Stack Overflow or respective owner