| Datafeed Toolbox™ | ![]() |
exec(K,Command)
exec(K,Command,P1,P2,P3)
| K | Kx Systems, Inc. kdb+ connection object created with the kx function. |
| Command | Kx Systems, Inc. kdb+ command issued using the Kx Systems, Inc. kdb+ connection object created with the kx function. |
| P1,P2,P3 | Input parameters for Command. |
exec(K,Command) executes the specified Command in Kx Systems, Inc. kdb+ without waiting for a response.
exec(K,Command,P1,P2,P3) executes the specified Command with one or more input parameters without waiting for a response.
Retrieve the data in the table trade using the connection to the Kx Systems, Inc. kdb+ database, K:
K = kx('localhost',5001);
Use the exec command to sort the data in the table trade in ascending order.
exec(K,'`date xasc`trade');
Subsequent data requests also sort returned data in ascending order.
![]() | kx.get | kx.insert | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |