lundi 14 avril 2014

How to apply max function for each row in KDB?


Vote count:

0




I want to ensure all values in column x are no smaller than 0.5, so I do:



update x:max (x 0.5) from myTable


But this gives (in Studio For KDB+)



An error occurred during execution of the query.
The server sent the response:
type
Studio Hint: Possibly this error refers to wrong type, e.g `a+1


What's wrong?



asked 56 secs ago

Milo Chen

1,219





Aucun commentaire:

Enregistrer un commentaire