searls03 Posted April 16, 2011 Share Posted April 16, 2011 how do I set up a table so that there are no indexes yet a replace into can occur? Quote Link to comment https://forums.phpfreaks.com/topic/233900-replace-into/ Share on other sites More sharing options...
Pikachu2000 Posted April 16, 2011 Share Posted April 16, 2011 Did you try reading the manual? Note that unless the table has a PRIMARY KEY or UNIQUE index' date=' using a REPLACE statement makes no sense. It becomes equivalent to INSERT, because there is no index to be used to determine whether a new row duplicates another. [/quote'] Quote Link to comment https://forums.phpfreaks.com/topic/233900-replace-into/#findComment-1202409 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.