Skip to content

Commit d73616a

Browse files
Oxyjunpedrosousa
andauthored
Apply suggestions from code review
Co-authored-by: Pedro Sousa <[email protected]>
1 parent ddb1ab9 commit d73616a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/content/docs/d1/build-with-d1/import-export-data.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ If you receive an error when trying to import an existing schema and/or dataset
169169

170170
If you encounter a `Statement too long` error when trying to import a large SQL file into D1, it means that one of the SQL statements in your file exceeds the maximum allowed length. To resolve this issue, try one of the following approaches:
171171

172-
1. Convert a single large INSERT statement into multiple smaller INSERT statements. For example:
172+
1. Convert a single large `INSERT` statement into multiple smaller `INSERT` statements. For example:
173173

174174
```sql
175175
INSERT INTO users (id, full_name, created_on)
@@ -180,7 +180,7 @@ VALUES
180180
('01GREFXCNF67KV7FPPSEJVJMEW', 'Riane Zamora', '2022-12-24 06:49:04');
181181
```
182182

183-
2. Break it into multiple INSERT statements:
183+
2. Break it into multiple `INSERT` statements:
184184

185185
```sql
186186
INSERT INTO users (id, full_name, created_on)
@@ -191,7 +191,7 @@ VALUES
191191
('01GREFXCNBYBGX2GC6ZGY9FMP4', 'Hube Bilverstone', '2022-12-15 21:56:13');
192192
```
193193

194-
3. If you have a single large INSERT statement with many rows, break it into smaller chunks. For example, instead of inserting 1000 rows in one statement, try splitting that into 250 rows.
194+
3. If you have a single large `INSERT` statement with many rows, break it into smaller chunks. For example, instead of inserting 1,000 rows in one statement, try splitting that into 250 rows.
195195

196196
## Next Steps
197197

0 commit comments

Comments
 (0)