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: v19.2/import-into.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ toc: true
10
10
11
11
-`IMPORT INTO` only works for existing tables. For information on how to import data into new tables, see [`IMPORT`](import.html).
12
12
-`IMPORT INTO` cannot be used within a [transaction](transactions.html) or during a [rolling upgrade](upgrade-cockroach-version.html).
13
+
-`IMPORT INTO` invalidates all [foreign keys](foreign-key) on the target table. To validate the foreign key(s), use the [`VALIDATE CONSTRAINT`](validate-constraint.html) statement.
13
14
-`IMPORT INTO` cannot be used to insert data into a column for an existing row. To do this, use [`INSERT`](insert.html).
Copy file name to clipboardexpand all lines: v20.1/import-into.md
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ The `IMPORT INTO` [statement](sql-statements.html) imports CSV data into an [exi
10
10
11
11
-`IMPORT INTO` only works for existing tables. For information on how to import data into new tables, see [`IMPORT`](import.html).
12
12
-`IMPORT INTO` cannot be used within a [transaction](transactions.html) or during a [rolling upgrade](upgrade-cockroach-version.html).
13
+
-`IMPORT INTO` invalidates all [foreign keys](foreign-key) on the target table. To validate the foreign key(s), use the [`VALIDATE CONSTRAINT`](validate-constraint.html) statement.
13
14
-`IMPORT INTO` cannot be used to insert data into a column for an existing row. To do this, use [`INSERT`](insert.html).
Copy file name to clipboardexpand all lines: v20.2/import-into.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,9 @@ The `IMPORT INTO` [statement](sql-statements.html) imports CSV data into an [exi
10
10
11
11
-`IMPORT INTO` only works for existing tables. For information on how to import data into new tables, see [`IMPORT`](import.html).
12
12
-`IMPORT INTO` cannot be used within a [transaction](transactions.html) or during a [rolling upgrade](upgrade-cockroach-version.html).
13
+
-`IMPORT INTO` invalidates all [foreign keys](foreign-key) on the target table. To validate the foreign key(s), use the [`VALIDATE CONSTRAINT`](validate-constraint.html) statement.
13
14
-`IMPORT INTO` cannot be used to insert data into a column for an existing row. To do this, use [`INSERT`](insert.html).
14
15
15
-
16
16
## Required privileges
17
17
18
18
Only members of the `admin` role can run `IMPORT INTO`. By default, the `root` user belongs to the `admin` role.
0 commit comments