如何查询已分组的过程中的blob列 [英] how to query a blob column in a procedure that is grouped

查看:81
本文介绍了如何查询已分组的过程中的blob列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

i在pl / sql中有一个用于水晶报告的存储过程。

我要做的是在已经存在的列中添加一列分组选择语句,包含图像,它是BLOB。



有没有想法如何进行分组?我必须先做任何一个版本吗?

i无法避免它,因为我的报告ORA-00079上的错误表达式没有分组。



我不是有经验的blob数据类型。



谢谢!

Hello ,
i have a stored procedure in pl/sql that is used in crystal report.
What i have to do is to add a column in the already existing grouped select statement, that contains image and it's BLOB.

Is there any idea how to do the grouping ?DO i have to do any conersion first ?
i cannot avoid it,since i get the error on my report ORA-00079 the expression is not grouped by .

I'm not experienced with blob data types .

thanks!

推荐答案

要使用blob分组,你'我需要将它转换为char。



To use grouping with a blob, you'll need to convert it to a char.

GROUP BY id, first_name, last_name, TO_CHAR(my_blob);


这篇关于如何查询已分组的过程中的blob列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆