KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ select with ssr function

  • select with ssr function

    Posted by mkoon on June 16, 2024 at 3:30 pm

    New to q and need some help.

    I am trying to select a column and apply a function. This function would apply ssr to an existing column.

    select {[x](ssr[x;”.C”;””])} orderID, cancelTime from t

    Sample Table

    orderID                cancelTime                   
    ----------------------------------------------------
    "00193932455ORSL1.4.C" 2023.06.13D14:42:12.296856000
    "00193935456ORSL1.1.C" 2023.06.13D13:56:47.006888000
    "00193946420ORSL1.1.C" 2023.06.13D14:41:40.911418000
    "00194008439ORSL1.5.C" 2023.06.13D17:14:06.267606000
    replied 4 months ago 0 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

Log in to reply.