i am using sql comands from visual studio 2008 and i need to do this: i need to insert "somthing" in tables but if this "somthing" is already written,only update it.
Printable View
i am using sql comands from visual studio 2008 and i need to do this: i need to insert "somthing" in tables but if this "somthing" is already written,only update it.
For Insert, you will have to use Insert Query and for Update you will have to use UPDATE Query. I guess you will need to take a closer look at how data is inserted or updated in the database. Go through books Online on MSDN.
i did it alredy thank U all :) the answer is -> http://blogs.msdn.com/miah/archive/2...se-insert.aspx