From 16054dcde3a0411880f6d99a19afe88c1fbd5302 Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Mon, 7 Nov 2022 12:30:37 -0800 Subject: [PATCH] Update 06-select.md --- docs/en/12-taos-sql/06-select.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/12-taos-sql/06-select.md b/docs/en/12-taos-sql/06-select.md index 5e96311494..67fecdbdc7 100644 --- a/docs/en/12-taos-sql/06-select.md +++ b/docs/en/12-taos-sql/06-select.md @@ -255,7 +255,7 @@ Note: If you include an ORDER BY clause, only one partition can be displayed. Some special query functions can be invoked without `FROM` sub-clause. -## Obtain Current Database +### Obtain Current Database The following SQL statement returns the current database. If a database has not been specified on login or with the `USE` command, a null value is returned. @@ -270,7 +270,7 @@ SELECT CLIENT_VERSION(); SELECT SERVER_VERSION(); ``` -## Obtain Server Status +### Obtain Server Status The following SQL statement returns the status of the TDengine server. An integer indicates that the server is running normally. An error code indicates that an error has occurred. This statement can also detect whether a connection pool or third-party tool is connected to TDengine properly. By using this statement, you can ensure that connections in a pool are not lost due to an incorrect heartbeat detection statement.