CAST TEXT TO BLOB
Posted in 2015
Topics: General Discussion
Hello:
IS there any way to cast a text column to BLOb one? I tried to do this
with no success:
ALTER TABLE t add pdf2 BLOB;
update t set pdf2 = pdf::blob;
REgards.
--001a113a7afe338c96050eae1bbc
Hello,
Try to create a CLOB column and execute the statment
/ UPDATE t SET pdf2 = CAST ( pdf as clob ) ;
/
Best regards,
El 09/02/15 a les 22:04, jfrancisco.navarro@gmail.com ha escrit:
> Hello:
>
> IS there any way to cast a text column to BLOb one? I tried to do this
> with no success:
>
> ALTER TABLE t add pdf2 BLOB;>
> update t set pdf2 = pdf::blob;>
> REgards.
>
> --001a113a7afe338c96050eae1bbc
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>