<p>There are two other issues:</p>

<p>1) DBIC deployment_statements can receive a list of statements. The sybase sqlt producer returns a single string which is then splitted by DBIC. The producer should return a list in list context. I made the same change in the postgres producer some years ago.<br>
2) In Sybase, you can't deactivate constraint checks. So depending on the order of the CREATE statements it will fail because of missing tables for foreign keys. A solution would be to add the foreign key creation to the end of the statements.</p>

<p>Maybe I should do this all in one pull request?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/66#issuecomment-133899185">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAuckxboZAwrHH19rEfZi1YyTXYByks5oqhHPgaJpZM4FwoFC.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/sql-translator/pull/66#issuecomment-133899185"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>