# Can we use the sql script in rollback tag ?

**URL:** <https://forum.liquibase.org/t/can-we-use-the-sql-script-in-rollback-tag/2585>\
**Category:** Liquibase Development\
**Created:** [August 28, 2012, 10:00pm UTC](https://forum.liquibase.org/t/can-we-use-the-sql-script-in-rollback-tag/2585 "2012-08-28T22:00:00Z")\
**Posts on this page:** 3\
**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:** [August 28, 2012, 10:00pm UTC](https://forum.liquibase.org/t/can-we-use-the-sql-script-in-rollback-tag/2585/1 "2012-08-28T22:00:00Z")

</div>

Hi,  
  
we want to include sql script for both of the following purposes :  
  
1. putting changes into oracle database&nbsp; and  
2. rolling back changes from oracle database   
  
  
\<changeSet author… id=…’);&nbsp;&nbsp;&nbsp;   
\<sqlFile path=path\_to\_sql\_file …\>   
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \<sqlFile path=path\_to\_sql\_file …\>   
  
  
  
Can above syntax will work?  
  
Best Regards,  
Anurag

---

<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:** [August 28, 2012, 10:00pm UTC](https://forum.liquibase.org/t/can-we-use-the-sql-script-in-rollback-tag/2585/2 "2012-08-28T22:00:00Z")

</div>

Was there ever an answer or response for this??&nbsp; I cannot get this to work, according to the changelog schema it should but the Parser complains that it cannot find a changeset for the rollback

---

<div class="post-metadata">

**Author:** ![pmendelson](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@pmendelson](https://forum.liquibase.org/u/pmendelson)\
**Post date:** [August 28, 2012, 10:00pm UTC](https://forum.liquibase.org/t/can-we-use-the-sql-script-in-rollback-tag/2585/3 "2012-08-28T22:00:00Z")

</div>

In my own experience I have used every refactoring that I have used in a changeset inside of a rollback.  
  
While I have never used the sqlFile refactoring my organization uses \<sql inside of rollback blocks all the time.  
  
Note this is based on version 2.0.5
