631 |
|
sqltCommentLine: |
632 |
|
stmt += '/* ' + TokenText + ' */' + LineEnding; |
633 |
|
|
634 |
+ |
sqltQuotedString: |
635 |
+ |
stmt += '''' + SQLSafeString(TokenText) + ''''; {exists some DECLARE with cursor having SELECT ...\... rc.rdb$constraint_type = 'PRIMARY KEY');} |
636 |
+ |
|
637 |
|
sqltSemiColon: |
638 |
|
begin |
639 |
|
State := stInStmt; |
1487 |
|
while FSQLReader.GetNextStatement(stmt) do |
1488 |
|
try |
1489 |
|
stmt := trim(stmt); |
1490 |
< |
// writeln('stmt = ',stmt); |
1490 |
> |
// writeln('stmt = "',stmt,'"'); |
1491 |
|
if stmt = '' then continue; |
1492 |
|
if not ProcessStatement(stmt) then |
1493 |
|
ExecSQL(stmt); |