2013.09.16 04:49 AM
2013.09.16 06:17 AM
2013.09.17 03:09 AM
For JDBC, you can refer to http://code.kx.com/wiki/Default setup of KDB has no entitlement service, you need to implement the service yourself by overriding various .z handles (http://code.kx.com/wiki/Cookbook/InterfacingWithJava Reference)
On Mon, Sep 16, 2013 at 7:49 PM, <david...@googlemail.com> wrote:
--Is there a default database name in KDB+ ?I have installed KDB+ (trial version) in Linux and created a table with some sample data:I can use a select statement in an SQL client (Squirrel) to see the data in KDB+.Otherwise how can I create named database? so I can reference the database name (and username/password) from another application with JDBC connection to the test KDB+ system?Thanks for your help!
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbpl...@googlegroups.com.
To post to this group, send email to personal...@googlegroups.com.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/groups/opt_out.
2013.09.17 03:23 AM
2013.09.18 02:12 AM
you don't actually create a "named" database as such, like in sql variants. You process is just the one database. Within there you can create namespaces if you want (e.g. .mynamespace.a:1).User name/pw - see -u, can provide an md5'd password file and pass into the process. E.g. file can be:david:<md5 password>cols:<md5 password>The start the q process:q -p 12345 -u file.passSimilarly, you don't create a schema as such in KDB. You can can have a q file that contains the functions and tables that are required though. So to create an empty table (simple example):myTable: ([] time:`time$(); sym:`sym$(); price:`float$());
On Tue, Sep 17, 2013 at 11:09 AM, <david...@googlemail.com> wrote:
--Thanks...I couldn't make much sense of the .z handles...Is there anywhere that explains how to create a named database instance, username, password and schema?Cheers
On Monday, September 16, 2013 2:17:19 PM UTC+1, mklee wrote:For JDBC, you can refer to http://code.kx.com/wiki/CookboDefault setup of KDB has no entitlement service, you need to implement the service yourself by overriding various .z handles (http://code.kx.com/wiki/Referok/InterfacingWithJava ence)
On Mon, Sep 16, 2013 at 7:49 PM, <david...@googlemail.com> wrote:
--Is there a default database name in KDB+ ?I have installed KDB+ (trial version) in Linux and created a table with some sample data:I can use a select statement in an SQL client (Squirrel) to see the data in KDB+.Otherwise how can I create named database? so I can reference the database name (and username/password) from another application with JDBC connection to the test KDB+ system?Thanks for your help!
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbpl...@googlegroups.com.
To post to this group, send email to personal...@googlegroups.com.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbpl...@googlegroups.com.
To post to this group, send email to personal...@googlegroups.com.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/groups/opt_out.
2013.09.18 02:44 AM
2013.09.18 11:59 PM
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.