There's no single SQL function that allows you to do that,
you have to build the logic in ColdFusion.
To make that work you need to first query if there is already
a record with that link in the DB and a different key then your
If yes, then throw a CF error message, if not then do the db
I don't think this question should be listed in the "Advanced