Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Try to convert BLOB in text on Sql page #19

Open
wellington1993 opened this issue Jul 14, 2017 · 2 comments
Open

Suggestion: Try to convert BLOB in text on Sql page #19

wellington1993 opened this issue Jul 14, 2017 · 2 comments

Comments

@wellington1993
Copy link

Hi,

I have queries return with BLOB columns, but the BLOB is portable to String/text.
If possible try to convert BLOB to String in Select return.

The column "MON$SQL_TEXT" from is an example:
SELECT * FROM MON$STATEMENTS;

Is string but I got BLOB.

Thanks...

@wellington1993
Copy link
Author

@wellington1993
Copy link
Author

Hi,

actually i solved with separated query:
SELECT CAST(SUBSTRING(MON$SQL_TEXT FROM 1 FOR 32000) AS VARCHAR(32000)) AS SQL_TEXT FROM MON$STATEMENTS;

But is more easy do "*" select.

Thanks...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant