各种 常见、不常见 数据库 获取 数据库版本 SQL
PostgreSQL:SELECT VERSION() AS VERSION
MySQL:SELECT VERSION() AS VERSION
DB2:SELECT SERVICE_LEVEL AS VERSION FROM TABLE (SYSPROC.ENV_GET_INST_INFO())
Oracle:SELECT BANNER AS VERSION FROM V$VERSION
SQLite:SELECT SQLITE_VERSION() AS VERSION
SQLServer:SE
原创
2020-08-27 13:46:06 ·
211 阅读 ·
0 评论