1
0
mirror of https://gitee.com/tawords/tawords-docs synced 2025-09-02 16:03:27 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

2021.08.06

This commit is contained in:
2021-08-06 20:21:28 +08:00
commit 77b4045582
111 changed files with 5713 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
### 修改数据库表前缀
> 以下内容非最终代码,请不要直接复制运行。
```sql
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_%';
```