# Are liquibase changelog parameters visible to a sqlcheck precondition?

**URL:** <https://forum.liquibase.org/t/are-liquibase-changelog-parameters-visible-to-a-sqlcheck-precondition/2249>\
**Category:** General Discussion\
**Created:** [April 16, 2013, 6:47am UTC](https://forum.liquibase.org/t/are-liquibase-changelog-parameters-visible-to-a-sqlcheck-precondition/2249 "2013-04-16T06:47:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [April 16, 2013, 6:47am UTC](https://forum.liquibase.org/t/are-liquibase-changelog-parameters-visible-to-a-sqlcheck-precondition/2249/1 "2013-04-16T06:47:00Z")

</div>

My changeSet looks like this:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;select count(\*) from TABLE\_1 where COL\_NAME=’${param}’ \</sqlCheck

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DELETE FROM TABLE1;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

My precondition always fails and the changeSet never gets executed.

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [April 16, 2013, 6:47am UTC](https://forum.liquibase.org/t/are-liquibase-changelog-parameters-visible-to-a-sqlcheck-precondition/2249/2 "2013-04-16T06:47:00Z")

</div>

If I remember correctly, it is a new feature in 3.0. I don’t believe it works in 2.x.

Nathan
