1
0
mirror of https://gitee.com/tawords/tawords-docs synced 2025-01-11 11:58:14 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
tawords-docs/docs/manual/start/migration.md
2021-08-07 00:54:13 +08:00

284 B

修改数据库表前缀

以下内容非最终代码,请不要直接复制运行。

Select CONCAT( 'ALTER TABLE ', table_name, 'RENAME TO bdc_', substring(table_name,CHAR_LENGTH('oldpre')+1)),';' )
FROM information_schema.tables
Where table_name LIKE 'oldpre_%';