How to display KDB row size? -
'count' returns number of elements of list, or table rows, or length of string. there way print size of row itself? in other words, want know size of table loaded in memory, not number of rows.
and total size of list of strings? have use 'each' calculate sum of string lengths or there way?
depending on version you're using. can use
q)-22!x / 2.7 or later believe or
q)count -8!x so
q)tbl:([]ids:10?`1;price:10?100.0) q)count -8!tbl 145 q)count -8!("one";"two";"three") 43 q)count -8!("one";"two";"three";"4") 45 see http://code.kx.com/wiki/reference/bangsymbolinternalfunction
Comments
Post a Comment