does that sql statement make sense logically?
seems like you would need to do a SELECT COUNT(*) for that customerid first and if the returned value is 0, then INSERT, if it is > 0 (meaning customer exists), then do an UPDATE command.
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |