You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/queries/select-version.adoc
-56Lines changed: 0 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,62 +36,6 @@ Databases created on, or migrated to, Neo4j 2025.06 or later will continue to ha
36
36
This is true for link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/#manage-database-systems[system, standard, and composite] Neo4j databases.
37
37
However, it is possible to set a different default language on both new and existing system, standard, and composite databases.
38
38
39
-
To select a default Cypher version when creating a database, add `DEFAULT LANGUAGE <language version>` to the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/create-databases/[`CREATE DATABASE`] statement.
40
-
41
-
.Select default Cypher version when creating a database
42
-
[.tabbed-example]
43
-
=====
44
-
[.include-with-Cypher-25]
45
-
======
46
-
47
-
.Cypher 25
48
-
[source,cypher]
49
-
----
50
-
CREATE DATABASE actors DEFAULT LANGUAGE CYPHER 25
51
-
----
52
-
53
-
======
54
-
55
-
[.include-with-Cypher-5]
56
-
======
57
-
58
-
.Cypher 5
59
-
[source,cypher]
60
-
----
61
-
CREATE DATABASE movies DEFAULT LANGUAGE CYPHER 5
62
-
----
63
-
64
-
======
65
-
=====
66
-
67
-
To alter the default Cypher version on an existing database, add `SET DEFAULT LANGUAGE <language version>` to the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/standard-databases/alter-databases/[`ALTER DATABASE`] command.
68
-
69
-
.Alter the default Cypher version on an existing database
70
-
[.tabbed-example]
71
-
=====
72
-
[.include-with-Cypher-25]
73
-
======
74
-
75
-
.Cypher 25
76
-
[source,cypher]
77
-
----
78
-
ALTER DATABASE movies SET DEFAULT LANGUAGE CYPHER 25
79
-
----
80
-
81
-
======
82
-
83
-
[.include-with-Cypher-5]
84
-
======
85
-
86
-
.Cypher 5
87
-
[source,cypher]
88
-
----
89
-
ALTER DATABASE actors SET DEFAULT LANGUAGE CYPHER 5
90
-
----
91
-
92
-
======
93
-
=====
94
-
95
39
For more information about how to change and view the default language of new and existing databases and remote database aliases, and for how to set the necessary privilege to change the default language of a standard database, see the following links in the Operations Manual:
96
40
97
41
* link:{neo4j-docs-base-uri}/operations-manual/current/configuration/cypher-version-configuration/[Configure the Cypher default version]
0 commit comments