Welcome Guest, Not a member yet? Register   Sign In
Insert if not exists possible with CI?
#1

[eluser]webnology[/eluser]
Hi,

is there a way to make a statement in CI like, I only need to add a record if this record does not yet exist? I'm filling a table with 2 Id's. a_id and b_id. I only need to add this record if the combination for these 2 is not yet in the db.

Can anyone guide me here, please?

Michel


Messages In This Thread
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 08:43 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 08:52 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 09:00 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 09:12 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 09:30 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 10:03 AM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 03:43 PM
Insert if not exists possible with CI? - by El Forum - 02-05-2010, 04:53 PM
Insert if not exists possible with CI? - by El Forum - 02-06-2010, 12:18 AM
Insert if not exists possible with CI? - by El Forum - 02-06-2010, 04:29 PM
Insert if not exists possible with CI? - by El Forum - 02-06-2010, 06:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB