# liquibase comments in sql formatted changelogs

**URL:** https://forum.liquibase.org/t/liquibase-comments-in-sql-formatted-changelogs/3241
**Category:** General Discussion
**Created:** [June 14, 2015, 9:07pm UTC](https://forum.liquibase.org/t/liquibase-comments-in-sql-formatted-changelogs/3241 "2015-06-14T21:07:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![fireflyfire007](https://avatars.discourse-cdn.com/v4/letter/f/d26b3c/32.png) [@fireflyfire007](https://forum.liquibase.org/u/fireflyfire007)
#### Post date: [June 14, 2015, 9:07pm UTC](https://forum.liquibase.org/t/liquibase-comments-in-sql-formatted-changelogs/3241/1 "2015-06-14T21:07:00Z")

</div>

I have a requirement to retain Oracle SQL comments made inside my Liquibase sql formatted changelogs. Thus I have the following attribute set `stripComments:false`

Such comments in my SQL formatted changelogs are typically supplied using the standard -- (hyphen hyphen) characters

```
-- DROP LINK
```

However, it appears that with Liquibase attempts to execute all comments, and in this example, the comment above. This causes my Liquibase update to fail with the following error:

```
Invalid SQL type: sqlKind = UNINITIALIZED
```

I have tried to replace all occurances of `
`

`-- comment`

with ` 
`

`/*`

`
`

`comment */`

but this also generates the same error.

 

Anyone have any

ideas?
