# Named Query - Get Value of Cell

**URL:** <https://forum.inductiveautomation.com/t/named-query-get-value-of-cell/23520>\
**Category:** Ignition\
**Created:** [March 21, 2019, 7:10pm UTC](https://forum.inductiveautomation.com/t/named-query-get-value-of-cell/23520 "2019-03-21T19:10:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayce.oxton](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jayce.oxton](https://forum.inductiveautomation.com/u/jayce.oxton)\
**Post date:** [March 21, 2019, 7:10pm UTC](https://forum.inductiveautomation.com/t/named-query-get-value-of-cell/23520/1 "2019-03-21T19:10:22Z")

</div>

Hello,

I’m calling a named query in a script transform using the system.db.runNamedQuery. I’m having troubles figuring out how to access a single cell value in the results of a named query. The result of my named query is a table that is 4 rows and 8 columns. I’m interested in pulling out just some of the values in this table to use in my script transform. There’s some confusion on my end of what type of object the system.db.runNamedQuery returns.

Is it a JSON, Dataset, or PyDataset?

How do I access an single value in the table within my script?

Thank You

---

<div class="post-metadata">

**Author:** ![jayce.oxton](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jayce.oxton](https://forum.inductiveautomation.com/u/jayce.oxton)\
**Post date:** [March 21, 2019, 7:25pm UTC](https://forum.inductiveautomation.com/t/named-query-get-value-of-cell/23520/2 "2019-03-21T19:25:05Z")

</div>

I figured it out. It is a dataset. I was getting 0 rows from my named query because my parameter name I was passing didn’t match the parameter name in the named query. Note: it is case sensitive!
