I am having trouble with a sql query. I need to insert a row if the same row does not exist already. This is what I have so far:
DECLARE BEGIN FOR FOLDE
A better (Oracle specific?) solution may be the MERGE statement.
See here for a nice explanation, with examples:
http://www.oracle-base.com/articles/10g/MergeEnhancements10g.php
Hope that helps.