---
title: "oracle中怎么实现 insert into table exec procedure"
author: "prettyboy434"
date: "2010-08-17T17:57:29Z"
tags: []
categories: ["数据库"]
slug: "oracle-insert-into-table-exec-procedure"
draft: false
lastmod: "2010-08-18T09:05:14Z"
id: 739479
url: "https://prettyboy434.iteye.com/blog/739479"
---

最近公司有个项目,需要将数据库从sqlserver转移到oracle,其中主要是存储过程.
  在修改存储过程中遇到一个问题,请大家帮忙解决下:
   sqlserver中的 代码是这样的
 
```sqlserver
insert into #UserMode_T8 exec pr_a_M_UserModel_T8 @DateEnd_ = @DateEnd , @collcode = @parm1 , @usercode = @parm2 , @DateStart_ = @DateStart 
```

    表明的意思好像是执行pr_a_M_UserModel_T8这个过程,得到的结果集插入到表#UserMode_T8中,
   查了好多资料,好像oracle中没有完成这种功能的方法,请大家帮忙用oracle实现.