generating moving too sql excel copy (ctrl + c) [i.e., can be used with splice excel in function concatenate sql]

 

 

 As shown in FIG: There test_user Table id (increment), code, name, age, create_time several fields.

使用函数:=CONCATENATE("insert into test_user (code,name,age,create_time) values ('",A2,"','",B2,"','",C2,"',NOW());")

 

 

 Generating SQL (below): insert into test_user (code, name, age, create_time) values ​​( '001', 'John Doe', '15', NOW ());

ctrl + c (copying the entire cell) ====> ctrl + v to FIG sql tool:

 

Guess you like

Origin www.cnblogs.com/helloearth/p/11504780.html