Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

insert

Write data to Kx Systems, Inc. kdb+ databases

Syntax

insert(k,tablename,data)
x = insert(k,tablename,data,sync)

Arguments

k

The Kx Systems®, Inc. kdb+ connection object created with kx.

tablename

The name of the Kx Systems, Inc. kdb+ Tablename.

data

The data that insert writes to the Kx Systems, Inc. kdb+ Tablename.

Description

insert(k,tablename,data) writes the data, data, to the Kx Systems, Inc. kdb+ table, tablename.

x = insert(k,tablename,data,sync) writes the data, data, to the Kx Systems, Inc. kdb+ table, tablename, synchronously. For asynchronous calls, enter sync as 0 (default), and for synchronous calls, enter sync as 1.

Examples

For the connection to the Kx Systems, Inc. kdb+ database, k, write data from ACME to the specified table:

insert(k,'trade',{'`ACME',133.51,250,6.4,'2006.10.24'})

See Also

| | |

Was this topic helpful?