-------- Original Message --------
Subject: [personal kdb+] Iterate saving down a table
From: John Smith <firstname.lastname@example.org>
Date: Mon, May 11, 2015 7:37 am
I'm trying to save down a date partitioned table to disk. Using the .Q.dpft[':/path/to/location;.z.d;'sym;'tablename].
This woks fine. I want to do this multiple times at end of day to the various tables that exist., and so I'd like to enclose this in a function, and pass the table name(s)in iteratively, saving down each one, one at a time. But how do I do this given I won't be writing the explicit name of the table for the last parameter, rather the local parameters name, so I think this doesn't work.
savedata[t;.z.d-1]. //t is table saved in memory.
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 email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/personal-kdbplus.
For more options, visit https://groups.google.com/d/optout.
Tel: +44 (0)28 3025 2242
Tel: +1 (212) 447 6700
Tel: +61 (0)2 9236 5700