Really simple SQL question...How do I write a query that checks if something exists in a table, and if it does, it updates, if it doesn't, it inserts it into the table?<BR><BR>Like ...
I have a table called PurchaseOrder, each row in that table has a unique auto incrementing field named ID. I simply want to get the highest ID and assign it to a string variable in VB .Net - I can't ...