Skip to content
OCTAVIIUS DOCSCore & Studio 0.2.83
Studio / 0.2.83

Studio import: transfer, typing and tracking

Chunked flat-file import, column mapping and committed-batch control.

Transfer and publication separation

An import job separates chunk reception, format analysis, preview and target publication. Preview defines a mapping contract; full-file validity is evaluated during loading. The job identifier and token provide tracking under the owner session. Loaded cardinality and business checks determine recovery decisions.

Choose the source and method

Studio uploads a CSV/TXT/TSV from the user’s machine to Core. BULK INSERT instead reads server-local paths. Import routes require admin. Uploads accept at most 256 MiB (268,435,456 bytes), with content chunks up to 1 MiB base64-encoded into bounded requests. Keep binary MiB units explicit.

Preview and mapping

Check UTF-8/UTF-16/Windows-1252 encoding, delimiter, quoting, escaping, header, decimal separator, date format and empty-field treatment. Preview helps choose types but does not prove every input row matches. Keep identifiers with significant leading zeros as text. Explicitly map columns to a new/existing table before running.

Progress, errors and recovery

start/chunk/preview/run/status/cancel keep job identifiers/tokens with the owning session. Loading may publish batches before failure/cancellation. Verify imported rows, rejects, encoding and totals before resuming; do not blindly reload an already-published prefix. A staging table helps validate before integration.

SQL
SELECT COUNT(*) AS lignes FROM dbo.Ventes;
SELECT TOP 20 Id, Pays, Montant, Jour FROM dbo.Ventes ORDER BY Id;