Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE, 1175 tried

Source: Internet
Author: User

Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE, 1175 tried

1 error description

19: 15: 34 call sp_store_insert (90) Error Code: 1175. you are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences-> SQL Editor and reconnect.0.093 sec

2 error cause

Create definer = 'root' @ 'localhost' PROCEDURE 'SP _ store_insert '(in score int) BEGIN create temporary table if not exists temp_student (id int (6) primary key, name varchar (20); delete from temp_student; insert into temp_student (id, name) select t. id, t. name from t_computer_stu t where t. score> score; END

Call sp_store_insert (90 );

3 Solution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.