hi
how can i insert a record in a table if it doesnt exist already and update the record otherwise ie if record exists then it must be updated and if not exist then inserted.
is it possible through one query... For example :
TableOne
ColumnOne|Colum nTwo|....
jhon |123455|....
now a record jhon,10000 comes since jhon already exist so it must be updated
if steve,45 comes it must be inserted
Any suggestions.... . Thanks in advance...
how can i insert a record in a table if it doesnt exist already and update the record otherwise ie if record exists then it must be updated and if not exist then inserted.
is it possible through one query... For example :
TableOne
ColumnOne|Colum nTwo|....
jhon |123455|....
now a record jhon,10000 comes since jhon already exist so it must be updated
if steve,45 comes it must be inserted
Any suggestions.... . Thanks in advance...
Comment