| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Datafeed Toolbox |
| Contents | Index |
| Learn more about Datafeed Toolbox |
insert(k,tablename,data)
x = insert(k,tablename,data,sync)
| 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. |
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.
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'})
kx.close, kx.fetch, kx.get, kx.tables
![]() | kx.exec | kx.isconnection | ![]() |
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 |