Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support COPY from statements #137

Closed
Tracked by #95
Fedomn opened this issue Dec 29, 2022 · 0 comments · Fixed by #148
Closed
Tracked by #95

support COPY from statements #137

Fedomn opened this issue Dec 29, 2022 · 0 comments · Fixed by #148

Comments

@Fedomn
Copy link
Owner

Fedomn commented Dec 29, 2022

refer to https://duckdb.org/docs/sql/statements/copy#csv-import

convert copy from to insert from, such as:

CREATE TABLE integers(i INTEGER);
INSERT INTO integers SELECT 42;

copy statement:

copy t1 from 't1.csv' ( DELIMITER '|', HEADER false);
This was referenced Dec 30, 2022
@mergify mergify bot closed this as completed in #148 Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant