# How can I add source code to a stored procedure?

**URL:** <https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667>\
**Category:** General Questions/Discussions\
**Created:** [July 19, 2007, 5:42pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667 "2007-07-19T17:42:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![freiser](https://avatars.discourse-cdn.com/v2/letter/f/9d8465/32.png) [@freiser](https://forums.visual-paradigm.com/u/freiser)\
**Post date:** [July 19, 2007, 5:42pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/1 "2007-07-19T17:42:40Z")

</div>

Hello,

I model my database with an ER-diagram.  
I have 2 stored procedures modeled yet and want to get them functional, i.e. I want to add their logic.

How can I accomplish this as they have to do some fairly complex calculation.

With kind regards

Florian Reiser

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [July 19, 2007, 6:03pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/2 "2007-07-19T18:03:22Z")

</div>

Hello Florian,

Thank you for your post. I regret that we support only modeling but not the generation of stored procedure. Your request has been forwarded to our team for further feasibility studies. Once there is any feedback, we will inform you immediately.

Best regards,  
Jick

---

<div class="post-metadata">

**Author:** ![freiser](https://avatars.discourse-cdn.com/v2/letter/f/9d8465/32.png) [@freiser](https://forums.visual-paradigm.com/u/freiser)\
**Post date:** [July 19, 2007, 7:10pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/3 "2007-07-19T19:10:05Z")

</div>

Hello Jick,

thanks for your fast reply.  
I offer you to test it, when it becomes available.

With kind regards

Florian Reiser

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [July 20, 2007, 1:28pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/4 "2007-07-20T13:28:38Z")

</div>

Hello Florian,

How about we provide an additional text box for user to enter the implementation?

Best regards,  
Jick

---

<div class="post-metadata">

**Author:** ![freiser](https://avatars.discourse-cdn.com/v2/letter/f/9d8465/32.png) [@freiser](https://forums.visual-paradigm.com/u/freiser)\
**Post date:** [July 20, 2007, 2:10pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/5 "2007-07-20T14:10:24Z")

</div>

Hello Jick,

I think that would be a good idea in the first step.  
In the second step maybe there could some kind of syntax highlighting.

Additionally there should be some kind of language selector. Think of Oracle, where you can choose between PL/SQL and Java.

Finally the stored procedure / stored function / package should be generated, which I can’t get to work until now, too.

With kind regards  
Florian Reiser

---

<div class="post-metadata">

**Author:** ![Jick](https://avatars.discourse-cdn.com/v2/letter/j/ea666f/32.png) [@Jick](https://forums.visual-paradigm.com/u/Jick)\
**Post date:** [July 20, 2007, 2:46pm UTC](https://forums.visual-paradigm.com/t/how-can-i-add-source-code-to-a-stored-procedure/9667/6 "2007-07-20T14:46:03Z")

</div>

Hi Florian,

Thank you for your feedback. I will pass it onto our developers.

Best regards,  
Jick
