I am newbie to KDB/q world. I have a table t where in one of the column col1, I need to strip all values before # sign. Example if certain rows have “126734i#1”, my select query needs to have only 126734i. I am running below query and getting an error type
select distinct t:string “#” vs col1 from t where date within (2017.11.01;2017.11.30)
I thought let me cast to string, but I am getting a length error in below query
select distinct t:string “#” vs col1 from td where date within (2017.11.01;2017.11.30)