# SCD Table update join condition. I would like to use a grid variable here but can't so how can I get the join columns out of a grid variable and into this attribute via an environment variable?

**URL:** <https://matillioncommunity.discourse.group/t/scd-table-update-join-condition-i-would-like-to-use-a-grid-variable-here-but-cant-so-how-can-i-get-the-join-columns-out-of-a-grid-variable-and-into-this-attribute-via-an-environment-variable/1207>\
**Category:** Matillion ETL\
**Created:** [November 12, 2020, 10:14am UTC](https://matillioncommunity.discourse.group/t/scd-table-update-join-condition-i-would-like-to-use-a-grid-variable-here-but-cant-so-how-can-i-get-the-join-columns-out-of-a-grid-variable-and-into-this-attribute-via-an-environment-variable/1207 "2020-11-12T10:14:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RS172820](https://avatars.discourse-cdn.com/v4/letter/r/3da27b/32.png) [@RS172820](https://matillioncommunity.discourse.group/u/RS172820)\
**Post date:** [November 12, 2020, 10:14am UTC](https://matillioncommunity.discourse.group/t/scd-table-update-join-condition-i-would-like-to-use-a-grid-variable-here-but-cant-so-how-can-i-get-the-join-columns-out-of-a-grid-variable-and-into-this-attribute-via-an-environment-variable/1207/1 "2020-11-12T10:14:45Z")

</div>

SCD Table update join condition. I would like to use a grid variable here but can’t so how can I get the join columns out of a grid variable and into this attribute via an environment variable?
