473,569 Members | 2,688 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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@dbstri ng @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 7444
Don't know about VC++. I use sqlplus and use show errors to see the error.
Jim
"wallflower s" <me*********@db forums.com> wrote in message
news:30******** ********@dbforu ms.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@dbstri ng @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*********@db forums.com> wrote in message news:<30******* *********@dbfor ums.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@dbstri ng @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
347
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
12204
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 click on the Tables icon. Here's my DTS statement: exec omsd..OMS_TECO.SP_Callback_Update_Pkg(116); omsd is the linked server
2
2175
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 function but I have a more complex procedure that I have created for the creation of reports. I'm trying to use ora_parse and ora_bind without much...
0
1913
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 Procedure? Can I pass a table or cursor or XML to Oracle stored procedure?
1
3439
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 OF VARCHAR2(3200); / CREATE OR REPLACE TYPE number_array IS TABLE OF NUMBER; /
1
4173
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 itshould show employees less than the the given salary CREATE OR REPLACE PROCEDURE employee1(empcode OUT VARCHAR2, empname OUT VARCHAR2, POSITION...
2
182
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 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...
7
8189
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. The field being MAX'd is an index field in the table. I have further ensured that the table has had an analysis and rebuild run on it to ensure good...
3
11779
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 stirng/varchar problem description: I am not able to execute this procedure through my C# code. for more information, below is the C# code that i...
0
7703
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7679
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5223
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3657
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
946
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.