Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Product Manuals » ElevateDB Version 2 SQL Manual » Administrative Statements » EXPORT TABLE |
EXPORT TABLE <ExportTable> TO <FileName> IN STORE <StoreName> [(<ColumnName>[,<ColumnName>])] [FORMAT DELIMITED|XML] [ENCODING AUTO|ANSI|UNICODE] [DELIMITER CHAR <DelimiterChar>] [QUOTE CHAR <QuoteChar>] [DATE FORMAT <DateFormat>] [TIME FORMAT <TimeFormat> [AM LITERAL <AMLiteral> PM LITERAL <PMLiteral>]] [DECIMAL CHAR <DecimalChar>] [BOOLEAN TRUE LITERAL <TrueLiteral> FALSE LITERAL <FalseLiteral>] [INCLUDE HEADERS] [MAX ROWS <MaxRowCount>] <ExportTable> = <TableName>|<ViewName> <DateFormat> = YYYY or YY = Year digits MM or M = Month digits DD or D = Day digits Any other character = literal <TimeFormat> = HH or H = Hours digits MM or M = Minutes digits SS or S = Seconds digits ZZZ or Z = Milliseconds digits N = AM/PM literal Any other character = literal
<row> <columnname>data</columnname> [<columnname>data</columnname>] </row>
<columns> <column>columnname</column> [<column>columnname</column>] <columns>
-- The following example exports the CustomerNo -- and TotalOrders columns in the Customer table as -- comma-delimited data into an export file EXPORT TABLE Customer TO "custordtotals.txt" IN STORE "ExportFiles" (CustomerNo, TotalOrders)
Deviation | Details |
Extension | This SQL statement is an ElevateDB extension. |
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |