各个语言里面的处理方法不同。
看你使用什么语言了。
in delphi:
可以使用query/clientdataset什么的来接收数据集。
query.sql.add(('select * from p_test()');
query.open;//需要返回结果的,而不是执行不返回结果的语句