⌘K ctrl+k
Search Shortcut cmd + k | ctrl + k
DuckDB 2.0 ドキュメント 全文検索
per page, with , order by , clip by
Results of 1 - 3 of about 3 for xls (0.001 sec.)
Excel Export 11849
DuckDB supports exporting data to Excel .xlsx files via the excel extension. Please note that .xls files are not supported. To install and load the extension, run: INSTALL excel; LOAD excel; Exporting Excel Sheets To export a table to an Ex ... cel file, use the COPY statement with the FORMAT xlsx option: COPY tbl TO 'output.xlsx' WITH (FORMAT xlsx); The result of a query can also be directly exported to an Excel fil ... e: COPY (SELECT * FROM tbl) TO 'output.xlsx' WITH (FORMAT xlsx); Or: COPY (SELECT * FROM tbl) TO 'output.xlsx'; To write the column names as the first row in the Exc ... el file, use the HEADER option: COPY tbl TO 'output.xlsx' WITH (FORMAT xlsx, HEADER true); To name the worksheet in the resulting Excel file, use the SHEET option: COPY tbl TO 'o ...
https://man.mtool.work/duckdb/2.0/guides/file_formats/excel_export.html
Excel Import 8557
DuckDB supports reading Excel .xlsx files. However, .xls files are not supported. Importing Excel Sheets Use the read_xlsx function in the FROM clause of a query: SELECT * FROM read_xlsx('test_excel.xlsx'); Alternatively, you can omit the r ... ead_xlsx function and let DuckDB infer it from the extension: SELECT * FROM 'test_excel.xlsx'; However, if you want to be able to ... pass options to control the import behavior, you should use the read_xlsx function. One such option is the sheet parameter, which allows specifying the name of the Excel worksheet: SELECT * FROM ... read_xlsx('test_excel.xlsx', sheet = 'Sheet1'); By default, the first sheet is loaded if no sheet is specified. Importing a Specifi ...
https://man.mtool.work/duckdb/2.0/guides/file_formats/excel_import.html
Excel Extension 7459
The excel extension provides functions to format numbers per Excel's formatting rules by wrapping the i18npool library and to read/write Excel ( .xlsx ) files. However, please note that .xls files are not supported. Installing and Loading T ... m AM/PM') AS timestamp; timestamp 9:31 PM SELECT excel_text(1_234_567.897, 'h AM/PM') AS timestamp; timestamp 9 PM Reading XLSX Files Reading a .xlsx file is as simple as just SELECT ing from it immediately, e.g.: SELECT * FROM 'test.xlsx'; a b 1.0 ... 2.0 3.0 4.0 However, if you want to set additional options to control the import process, you can use the read_xlsx function instead. The following named parameters are supported. Option Type Default Description header BOOLEAN automatica ... st row as containing the names of the resulting columns. sheet VARCHAR automatically inferred The name of the sheet in the xlsx file to read. Default is the first sheet. all_varchar BOOLEAN false Whether to read all cells as containing VARCHAR s. ig ...
https://man.mtool.work/duckdb/2.0/core_extensions/excel.html
PREV 1 NEXT
DuckDB 2.0 Documentation / man.mtool.work