Looking for a stored procedure that will copy a row from one table to another. The row has a unique id field called id. If the row exists in the target the procedure should do an UPDATE. Otherwise it should do an INSERT.
Anyone have such a thing (or at least the skeleton of that) in their toolbox?
Start Free Trial