OK, here is my issue:
Using an Oracle 9.1 database with some views.
One field in this view is a BLOB(4000).
I have a reporting tool that cannot use blobs in a formula.
I figured that I would use SUBSTR to return only the first 256 characters for this field. When I see the final result, it does not appear that it's working as intended.
but when I see the schema it tells me that field3 is of type VarChar2(768) and the reporting tool is still complaining of a BLOB.
FYI:
I used this statement to hit the target,actually sets the field size to 255..but it'll work
any knowledge on why this is occuring?
thanks
Using an Oracle 9.1 database with some views.
One field in this view is a BLOB(4000).
I have a reporting tool that cannot use blobs in a formula.
I figured that I would use SUBSTR to return only the first 256 characters for this field. When I see the final result, it does not appear that it's working as intended.
Code:
CREATE OR REPLACE VIEW myview( field1, field2, field3) AS SELECT field1, field2,
[b]SUBSTR(table3.field3,1,256) as VALUE,[/b]
FROM field1, field2, field3
WHERE field1.num = field2.num
AND field2.data = field3.data
but when I see the schema it tells me that field3 is of type VarChar2(768) and the reporting tool is still complaining of a BLOB.
FYI:
I used this statement to hit the target,actually sets the field size to 255..but it'll work
Code:
[b]SUBSTR(table3.field3,1,85) as VALUE,[/b]
any knowledge on why this is occuring?
thanks