diff --git a/modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc b/modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc index 359643f46..3be4dfc10 100644 --- a/modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc +++ b/modules/ROOT/pages/database-administration/aliases/manage-aliases-composite-databases.adoc @@ -51,7 +51,7 @@ For a description of all the returned columns of this command, and for ways in w Both local and remote database aliases can be part of a xref::database-administration/composite-databases/concepts.adoc[composite database]. -The database alias is made of two parts, separated by a dot: the namespace and the alias name. +The database alias consists of two parts, separated by a dot: the namespace and the alias name. The namespace must be the name of the composite database. @@ -266,9 +266,13 @@ CREATE ALIAS `my.composite.database.with.dots`.`my.other.alias.with.dots` FOR DA ---- -[role=label--deprecated] === Single dots and local database aliases +[NOTE] +==== +As of Neo4j 5.26.9, this feature is no longer deprecated. +==== + There is a special case for local database aliases with a single dot without any existing composite database. If a composite database `some` exists, the query below will create a database alias named `alias` within the composite database `some`. If no such database exists, however, the same query will instead create a database alias named `some.alias`: diff --git a/modules/ROOT/pages/database-administration/standard-databases/naming-databases.adoc b/modules/ROOT/pages/database-administration/standard-databases/naming-databases.adoc index dedf9ca2a..d48468b7e 100644 --- a/modules/ROOT/pages/database-administration/standard-databases/naming-databases.adoc +++ b/modules/ROOT/pages/database-administration/standard-databases/naming-databases.adoc @@ -19,9 +19,7 @@ Naming rules for databases are as follows: The `-` (dash) and `.` (dot) characters are not legal in Cypher variables. Names with a `-` in them must be enclosed within backticks. For example, `CREATE DATABASE ++`main-db`++` is a valid database name. -Database names are the only identifier for which dots do not need to be quoted. -For example `main.db` is a valid database name. -However, this behavior is deprecated due to the difficulty of determining if a dot is part of the database name or a delimiter for a database alias in a composite database. +Using dots in database names is not recommended, as it makes it difficult to determine if a dot is part of the database name or a delimiter for a database alias in a composite database. ==== It is possible to create an alias to refer to an existing database to avoid these restrictions.