oracle pl/sql results into one string(oracle pl/sql 结果成一个字符串)
问题描述
我正在尝试创建一个简单的存储过程,将查询结果存储到一个字符串中.
I'm trying to create a simple stored procedure that stores queried result into one string.
会回来
我想将aaaa、bbbb、cccc"存储到 v_string1 中.我能想到的只是一个光标......有没有更好的方法来处理这个问题?
I want to store "aaaa, bbbb, cccc' into v_string1. And all I can think of is a Cursor... Is there a better way to handle this?
推荐答案
使用 SQL Fiddle:
这篇关于oracle pl/sql 结果成一个字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!