Update from Sync Service

This commit is contained in:
FNS Service
2026-04-21 20:39:08 +08:00
parent 5604527d48
commit ee848b6727
12 changed files with 7 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
```sql
select `pg_terminate_backend(pid)` from `pg_stat_activity` where `datname`='testdb' and `pid`<>`pg_backend_pid();`
```
==上面sql表示的是关闭数据库testdb的活动连接接下来就可以用==
```sql
drop database `testdb;`
```

View File

@@ -1 +0,0 @@
>

View File

@@ -1,3 +0,0 @@
```sql
exec sp_attach_single_file_db @dbname='ZHDMTProj_SX',@physname='F:\DataBases\ZHDMTProj_SX.mdf'
```