admin 发表于 2023-2-13 15:35:01

分享本地附件转远程附件和远程附件转本地附件的SQL代码

本地转远程
update pre_forum_attachment_0 set remote = '1' ;update pre_forum_attachment_1 set remote = '1' ;update pre_forum_attachment_2 set remote = '1' ;update pre_forum_attachment_3 set remote = '1' ;update pre_forum_attachment_4 set remote = '1' ;update pre_forum_attachment_5 set remote = '1' ;update pre_forum_attachment_6 set remote = '1' ;update pre_forum_attachment_7 set remote = '1' ;update pre_forum_attachment_8 set remote = '1' ;update pre_forum_attachment_9 set remote = '1' ;
远程转本地
update pre_forum_attachment_0 set remote = '0' ;update pre_forum_attachment_1 set remote = '0' ;update pre_forum_attachment_2 set remote = '0' ;update pre_forum_attachment_3 set remote = '0' ;update pre_forum_attachment_4 set remote = '0' ;update pre_forum_attachment_5 set remote = '0' ;update pre_forum_attachment_6 set remote = '0' ;update pre_forum_attachment_7 set remote = '0' ;update pre_forum_attachment_8 set remote = '0' ;update pre_forum_attachment_9 set remote = '0' ;

拾光 发表于 2023-2-13 15:35:24

:):)收藏了 收藏了!!!

拾光 发表于 2023-2-13 15:36:09

谢谢分享进来学习

Crystαl 发表于 2023-2-13 15:37:03

门户是什么代码
页: [1]
查看完整版本: 分享本地附件转远程附件和远程附件转本地附件的SQL代码

创宇盾启航版免费网站防御网站加速服务