diff --git a/content/enterprise_influxdb/v1.9/query_language/explore-schema.md b/content/enterprise_influxdb/v1.9/query_language/explore-schema.md index 0e37f47acd..5ec905aaba 100644 --- a/content/enterprise_influxdb/v1.9/query_language/explore-schema.md +++ b/content/enterprise_influxdb/v1.9/query_language/explore-schema.md @@ -188,6 +188,8 @@ SHOW SERIES [ON ] [FROM_clause] [WHERE [ '`, you must specify the database with `USE ` in the [CLI](/enterprise_influxdb/v1.9/tools/influx-cli/use-influx/) or with the `db` query string parameter in the [InfluxDB API](/enterprise_influxdb/v1.9/tools/api/#query-string-parameters) request. +`SHOW SERIES` only returns series in the database's default retention policy, +and fails if there is no default retention policy. The `FROM`, `WHERE`, `LIMIT`, and `OFFSET` clauses are optional. The `WHERE` clause supports tag comparisons; field comparisons are not @@ -211,7 +213,7 @@ and on [Regular Expressions in Queries](/enterprise_influxdb/v1.9/query_language #### Run a `SHOW SERIES` query with the `ON` clause ```sql -// Returns series for all shards in the database +// Returns series for all shards in the database and default retention policy > SHOW SERIES ON NOAA_water_database key diff --git a/content/influxdb/v1.8/query_language/explore-schema.md b/content/influxdb/v1.8/query_language/explore-schema.md index 46c8723ba9..b5f7f68b79 100644 --- a/content/influxdb/v1.8/query_language/explore-schema.md +++ b/content/influxdb/v1.8/query_language/explore-schema.md @@ -189,6 +189,8 @@ SHOW SERIES [ON ] [FROM_clause] [WHERE [ '`, you must specify the database with `USE ` in the [CLI](/influxdb/v1.8/tools/shell/) or with the `db` query string parameter in the [InfluxDB API](/influxdb/v1.8/tools/api/#query-string-parameters) request. +`SHOW SERIES` only returns series in the database's default retention policy, +and fails if there is no default retention policy. The `FROM`, `WHERE`, `LIMIT`, and `OFFSET` clauses are optional. The `WHERE` clause supports tag comparisons; field comparisons are not @@ -212,7 +214,7 @@ and on [Regular Expressions in Queries](/influxdb/v1.8/query_language/explore-da #### Run a `SHOW SERIES` query with the `ON` clause ```sql -// Returns series for all shards in the database +// Returns series for all shards in the database and default retention policy > SHOW SERIES ON NOAA_water_database key