KX Community

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

Home Forums kdb+ How do I add column name as a string to content of data Re: How do I add column name as a string to content of data

  • megan_mcp

    Administrator
    November 28, 2023 at 12:00 am

    Hi ,

    Can I just note that by converting your symbols to strings in col2, you are going to take up a lot more memory. If it isn’t essential they be stored in the table as strings, you could convert them while querying your data instead.

    Of course this is only relevant if the table will be saved on disk and if you are interested in saving memory.

    Thanks,

    Megan