|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
UPDATE and or INSERT
I want to update my SQL database with new information if it does not yet exist in the data-base, but if the data is already in the data base I want to update the information. I am not sure if I am making myself clear but any help would be greatly apprecated. Thanks
|
|
#2
|
|||
|
|||
|
INSERT creates new rows in a table
UPDATE modifies existing rows in a table DELETE removes rows from a table Look at your db documentation for more details.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
Then you can insert if it does not exists or update if it does exists!
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > UPDATE and or INSERT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|