473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Compiling Oracle Stored Procedure from VC++


Hi,

I would like to know , how do I compile an oracle stored procedure or
trigger from Visual C++ environment. I entered the sqlplus
username/password@dbstring @filename command in the
Custom Build step under Project Settings dialog box. Although I
am able to
submit the file to the server I am not able to get the errors.
Since it just
says that procedure was compiled with errors
just as it would in an sqlplus session , where you would use show errors
to
display the errors. Is there any to compile from VC++ and still get the
errors directly in the VC++ output window.
Any advice is highly appreciated.
I need to set this coz, we need to use source safe for version control.

Thanks,
Hari

--
Posted via http://dbforums.com
Jul 19 '05 #1
2 7423
Don't know about VC++. I use sqlplus and use show errors to see the error.
Jim
"wallflowers" <me*********@dbforums.com> wrote in message
news:30****************@dbforums.com...

Hi,

I would like to know , how do I compile an oracle stored procedure or
trigger from Visual C++ environment. I entered the sqlplus
username/password@dbstring @filename command in the
Custom Build step under Project Settings dialog box. Although I
am able to
submit the file to the server I am not able to get the errors.
Since it just
says that procedure was compiled with errors
just as it would in an sqlplus session , where you would use show errors
to
display the errors. Is there any to compile from VC++ and still get the
errors directly in the VC++ output window.
Any advice is highly appreciated.
I need to set this coz, we need to use source safe for version control.

Thanks,
Hari

--
Posted via http://dbforums.com

Jul 19 '05 #2
wallflowers <me*********@dbforums.com> wrote in message news:<30****************@dbforums.com>...
Hi,

I would like to know , how do I compile an oracle stored procedure or
trigger from Visual C++ environment. I entered the sqlplus
username/password@dbstring @filename command in the
Custom Build step under Project Settings dialog box. Although I
am able to
submit the file to the server I am not able to get the errors.
Since it just
says that procedure was compiled with errors
just as it would in an sqlplus session , where you would use show errors
to
display the errors. Is there any to compile from VC++ and still get the
errors directly in the VC++ output window.
Any advice is highly appreciated.
I need to set this coz, we need to use source safe for version control.

Thanks,
Hari


Toad supports Visual Source Safe.
There is no need to misuse VC++ to compile SPs.

Sybrand Bakker
Senior Oracle DBA
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sezhman | last post by:
I am using Oracle Database, Can anyone tell me, how to connect to the oracle database and run the stored procedure in oracle. I am facing some problem in this. please guide me.. -- Sezhman
1
by: robin via SQLMonster.com | last post by:
I've tried several different way to execute a oracle stored procedure from a DTS package but to no avail. I have a Linked Server setup which does bring back Oracle tables from the server when I...
2
by: paddy_nyr | last post by:
What is the correct syntax for calling an oracle stored procedure and getting a retrun value? I created a simple procedure on my oracle database for testing and yes I know I could do this in a...
0
by: Chan | last post by:
Hi, I am trying to send set of rows from my c# web service to Oracle stored procedure. I think I can get this done using OpenXML in SQL Server. How to implement this in Oracle Stored...
1
by: burtonl | last post by:
I'm using the ADODB abstraction layer and trying to figure out how to call an Oracle stored procedure. It has the following types defined: CREATE OR REPLACE TYPE varchar2_3200_array IS TABLE...
1
by: zrtv | last post by:
hi All, Iam new in oracle stored procedure, i have one stored procedure and it has to be accessed from vb6. my stored procedure as follows -- employee salary will be entered by the user and...
2
by: wallflowers | last post by:
Hi, I would like to know , how do I compile an oracle stored procedure or trigger from Visual C++ environment. I entered the sqlplus username/password@dbstring @filename command in the Custom...
7
by: E11esar | last post by:
Hi there. I have written a C# web service that calls an Oracle stored procedure. The SP is a simple select-max query and the table it is getting the value from has about 2.8 million rows in it. ...
3
by: rajkumarbathula | last post by:
Hi I was struck up with big problem of executing a oracle stored procedure in C#. Inputs 1:I am having 1 oracle stored procedure eg. myProc() and this procedure takes 1 INOUT parameter. of type...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.