Products & Services Solutions Academia Support User Community Company

Learn more about Datafeed Toolbox   

kx.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 the kx function.

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

kx.close, kx.fetch, kx.get, kx.tables

  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS