Documentation Index
Fetch the complete documentation index at: https://docs.oxla.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
A delimiter is a character that separates text strings. Common delimiters include:- Commas (,)
- Semicolon (;)
- Quotes ( ”, ’ )
- Dash (-)
- Pipes (|)
- Slashes ( / \ ).
Syntax
The syntax forCOPY TO with a delimiter is as follows:
table_name: The table containing the data to be exported.file_path: The CSV file location where the data will be saved.DELIMITER ‘delimiter': The Delimiter used in the exported CSV file.
Default delimiter is a comma (
,).Example
Step #1: Create a Table
- Before creating a table, check for duplicate tables using the following statement:
- You will receive a list of existing tables in Oxla:
- Create a “customer” table.
- The table and data were created successfully.
Step #2: Export Data to a CSV File using Delimiter
In the example below, we are using a Comma (, ).
, ) as the delimiter for the customer table, the expected output would be: