mysql 数据库名含“-”

跨数据库操作时,用反引号即可:

insert into `tmi-ds`.knn_test(imagedata)
select imagedata from tmidb.imagetable where imageid = '350182198001014321201808010917TMI5912003_1'

 反引号:tab键上面。

猜你喜欢

转载自www.cnblogs.com/gaara-zhang/p/9621671.html