Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 92470
Status: new
Priority: 0/
Queue: SQL-Translator

Owner: Nobody in particular
Requestors: brad [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)


Subject: T-SQL-style comments break the Sybase parser
Date: Sat, 25 Jan 2014 14:59:46 -0500
To: bug-SQL-Translator [...]
From: Brad Ackerman <brad [...]>
Download (untitled) / with headers
text/plain 684b
Distribution: SQL-Translator-0.11018 Perl: 5.16.2 on OS X 10.9.1 Problem: Transact-SQL comments cause the Sybase parser to error out. Test case attached from the FCC’s Universal Licensing System - the full schema is at <>. Input: sqlt -f Sybase -t PostgreSQL sybase-tsql-comments-test.sql Output received: ERROR (line 1): Invalid statement: Was expecting create table, or create procedure, or create index, or create constraint, or comment, or use, or setuser, or if, or print, or grant, or exec Deleting the /* comment */ produces the expected result.
Download sybase-tsql-comments-test.sql
application/octet-stream 457b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 110b
— Brad Ackerman N1MNB PGP: 0x9F49A373 <*>

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to