Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

difference update and insert

Former Member
0 Likes
1,574

what is the difference between update and insert in the case of database tables? what does update do and what does insert do?

6 REPLIES 6
Read only

Former Member
0 Likes
1,365

INSERT is to add a new record to database.

UPDATE is to modify a field value of an existing record in database.

Read only

Former Member
0 Likes
1,365

HI ,

in the name itself meaning is there

1. Insert is for inserting new row into Database table .

2. Update is for changing the existing row in Database Table.

THX

Read only

Former Member
0 Likes
1,365

Hi

Insert is to insert a new row into the database table

whers as update is to change the exsting row in the database table

plzz reward if usefull

feel free to ask any quiries my mail id is mutyalasunilkumar@gmail.com

Read only

Former Member
0 Likes
1,365

hi,

insert ... will only insert a new record ...

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/insert_d.htm

update : will only update the existing record...

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/update.htm

Hope this is helpful, Do reward.

Read only

Nimesh_S_Patel
Explorer
0 Likes
1,365

Hi,

Insert Functionality,

Inserts new lines in a database table.By default, data is only inserted in the current client. Data can only be inserted using a view if the view refers to a single table and was defined in the ABAP Dictionary with the maintenance status "No restriction".

Update Functionality,

Updates values in a database table. Normally, lines are updated only in the current client.

INSERT & UPDATE belongs to the Open SQL command set.

Thanks

Nimesh S. Patel

Read only

abdul_hakim
Active Contributor
0 Likes
1,365

Hi,

INSERT- to insert the data record.

UPDATE - to update the existing data record

Cheers,

Hakim