I'm trying to find the best way to have SQL do this:
IF COLUM1 already contains "VALUE" then UPDATE COLUM2+1
IF NOT, INSERT COLUM1,COLUM2 VALUES ("VALUE",1)
Currently I'm using SELECT / RecordCount to first find out if the VALUE exists.
There must be a better way...
Michael.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists