# Name a table dynamically

**URL:** <https://forum.kx.com/t/name-a-table-dynamically/7591>\
**Category:** Community Support\
**Tags:** kdb-and-q\
**Created:** [March 8, 2012, 6:16am UTC](https://forum.kx.com/t/name-a-table-dynamically/7591 "2012-03-08T06:16:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shatru1](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@shatru1](https://forum.kx.com/u/shatru1)\
**Post date:** [March 8, 2012, 6:16am UTC](https://forum.kx.com/t/name-a-table-dynamically/7591/1 "2012-03-08T06:16:00Z")

</div>

Hi,Is there a way that I can name/rename a table based on the value of avariable?Suppose, I want to create a table based on the value of a parameter,is there a way I could do this?Appreciate any help.Thanks,Shatru.

---

<div class="post-metadata">

**Author:** ![bartosz\_kaliszu](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@bartosz\_kaliszu](https://forum.kx.com/u/bartosz_kaliszu)\
**Post date:** [March 8, 2012, 6:51am UTC](https://forum.kx.com/t/name-a-table-dynamically/7591/2 "2012-03-08T06:51:00Z")

</div>

Sure,  
t:`table t set ([] sym:`a`b`c; val:1 2 3)

Br,  
Bartosz
