-
How to convert below functional select query to a QSQL format.
Hi All,
I am new to kdb and wanted to prepare a report containing information of how many rows are seen in variable rdb tables. For this I see we can get that via below functional query that provide us dictionary with table name and count(tables[] ! { count value (? ; x ; () ; 0b ; () ) } each tables[]
Above gives me the expected output, but I wanted to perform this via qsql for my understanding. But this gives me the error.
tables[] ! ( { count value ( select from x ) } each tables [] )
I tried to use the implicit argument x and passed it to function which then count the number of rows inside the lambda function and then tried passing it parameter each tables [] which results into an error. How can I debug this error with some meaningful error thrown and what would be right way to do it ?
Thanks in advance.
Log in to reply.