• +91 9723535972
  • info@interviewmaterial.com

SAP DB Interview Questions and Answers

Question - What happens “Update” command is used without where clause ?

Answer - 1: - It will update all the records with same name in the particular field of the table. 2: - If we dont mention "WHERE" clause in the UPDATE statement, it will update all records satisfying the given condition (if given any ) in the table ! 3: - Based on query condition. it will update all the fields which are mentioned in the query. ex: update employee set firstname= @firstname,lastname=@lastname where employee_id =@employee_id. so in the above case nothing wil be happen if you used where clause or not. if you have many statements in the query you need to use the where clause.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners