Databases :: Getting Data From Oracle Sp?

Mar 15, 2011

have a sp in oracle which has 3 input parameters and 3 output parameters( 1 ref cursor, i number, 1 varchar2)

Command.CommandText = sp name;
Command.CommandType =
CommandType.StoredProcedure;

i am doing cmd.ExecuteNonQuery();I am able to get the number and varchar2 values from output parameters. But i am unable to get output from Ref Cursor. (How can i get this...)If i use dataadaptor then i am getting the datatable in the dataset(but i am not getting the other two parameters(where will get the other two??)...

View 2 Replies


Similar Messages:

Databases :: How To Fetch Nvarchar2 Data In Using Oracle

Apr 20, 2010

my data base is oracle and i'm fetching simple data id, desc from table into a data set. But i'm getting only id and my desc field is showing blank.

my table is like this id number, desc nvarchar2(100)

View 1 Replies

Databases :: Insert Session Data Into Oracle DB?

Jan 20, 2011

I'm using ASP.NET C# with the v3.5 framework, and need to grab data from the session and insert it into an Oracle database. I can connect to the database and manually insert data from a couple of controls I created. However, I have an application with multiple forms that stores data in the session as the user navigates between the forms. The form information is stored in DataTables, with a separate DataTable for each form. I have an idea of how to retrieve the data, but was wondering if I have to code queries to map each field in the database to the fields in the forms? Or is there a way to "give" the database the information from the DataTable and have it insert each of the values?

View 5 Replies

Databases :: Bulk Data Transfer Oracle 10.2G?

Dec 1, 2010

I want to do a bulk data transfer from Oracle 10.2G into CSV or Excel sheet.I would either want that an entire table's data be populated into EXcel/CSV or the result of a select query be so populated.

1)Is there any stored procedure or function that can do this?

I know of a function in postgres which does this kind of a thing.There could be something similar.The second thing is the reverse of it.I want to transfer the contents of a CSV file into a oracle table after truncating it.

2) What sp or function is available for that?

View 2 Replies

Databases :: How To Transfer Data From Oracle 10g To Sql Server 2008

Jul 27, 2010

I want to know the best way to transfer data from a view in Oracle database 10g to Sql Server 2008.

View 1 Replies

Databases :: Cannot Read CLOB Data From Oracle Database In C# 4.0

Feb 4, 2011

am in deep trouble with retriving the data from oracle database. Please HELP ! In one line: "When i retrive the data from oracle database, it's truncate the data if it is more than 4 kb"I have oracle proc param as below:

PROCEDURE p_GetData (
ivar_id IN id_n%TYPE,
oclb_owners OUT CLOB,
onum_sqlcode OUT NUMBER,
[code]...

View 8 Replies

Databases :: Store Data In File System Rather Than SQL Or Oracle

Jul 23, 2010

As I am working on Employee Management system, I have two table (for example) in database as given below.

EmployeeMaster (DB table structure)
EmployeeID (PK) | EmployeeName | City
MonthMaster (DB table structure)
Month | Year | EmployeeID (FK) | PrenentDays | BasicSalary

Now my question is, I want to store data in file system rather than storing data in SQL or ORACLE.

I want my data in file system storage for Insert, Edit and Delete opration with keeping relation with objects too.

I am a C# developer, Could anybody have thoughts or idea on it. (To store data in file system with keeping relations between them)

View 1 Replies

Databases :: Updating, Inserting Data In Oracle /DetailsView?

Feb 10, 2010

I`m extremely newbie to asp.net and oracle but i need to make a very simple project where asp.net inserts/updates data is oracle db. A managed to the connections, everything, made a DetailView of the DB data on the page, enabled in the Advanced SQL Generation Options the "Generate INSERT, DELETE and UPDATE statesments". Here is the code:

[Code]....

But unfortunately this does not work! I get the following error:

[Code]....

Oracle gives me creeps with these invalid characters and dates.

View 3 Replies

Databases :: Fetch The Data From A Table With Alias Name In Oracle?

Aug 11, 2010

I need to fetch the data from a table with Alias name in oracle.

example: select f1 'Field Name1',f2 'Field Name2' from sometablename;

View 2 Replies

Databases :: Secured Oracle Provider/ Encrypts The Data While Passing Data Over Internet?

Aug 27, 2010

Ours is a Asp.net web application. Database is Oracle. Its an Internet Application.

Database will be in one location and Web application in another. Data from Oracle to Web application will be passed over Internet.

We are using EnterpriseLibrary. And provider is System.Data.OracleClient.

We need a provider which encrypts the data while passing data over internet.

Do we need to go for some third party Providers or ODBC ?

View 1 Replies

Databases :: Fetching Data From Oracle Data Base In Application?

Jun 8, 2010

I am fetching data from oracle data base in asp.net application. To achieve this functionality i have used Oracle.DataAccess dll . In my developement enviorment it working fine.

But once I deployed this code on IIS 6.0 it is stopped working and I checked my log and found connection not get established . Then I make sure Oracle.DataAccess.dll present in to bin folder also I try to put this dll in side GAC, but still my code is not working on deployed server.

View 1 Replies

Databases :: Getting Error System.Data.OracleClient Requires Oracle Client Software Version 8.1.7?

Jul 20, 2010

Getting the following error when browsing .net 2.0 application System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.

I have setup a .net 2.0 application with oracle backend on windows server 2008 R2. I have oracle client 11g installed on the server for the application to talk to the oracle database. This worked well when the .net 2.0 application was hosted on windows server 2003 and oracle client 10g. But when it is hosted on server 2008 with new oracle client it is giving the above error when browsing the page. This error occurs when the connection is opened inside the c# code.

View 3 Replies

Databases :: How To Use Oracle 10g Using Toad

Jan 27, 2010

how we can use oracle 10g in asp.net 3.5 using toad

View 1 Replies

Databases :: How To Run The Oracle 32 And 64 Bit Clients

Feb 22, 2011

As the title says I have a Win 7 64 bit dev machine, Win 2K3 32 bit production box and I run against Oracle 10g which Oracle clients do I need to run? Do I need to run the Oracle 32 and 64 bit clients? And if so what versions?

View 1 Replies

Databases :: Connect To Oracle Without DSN?

Oct 4, 2010

I need to find a way to connect to the remote Oracle server without a DSN. There are some practical problem for accessing the server using a DSN. I need a way to connect to Oracle server like I connect to SQL Server etc. For example, in SQL server, I can connect directly with server using Servername (IP adress) + Username + Password + DB Name. Any way to connect to the Oracle server like in SQL Server we do ??

View 6 Replies

Databases :: SqlDataSource On Oracle 64 Bit?

Aug 2, 2010

I have an Asp.net web application targeting .Net2.0 and my databse is oracle, I used SqlDataSource Control to communicate with oracle database its working fine on my development server, but on my production Oracle is 64 bit so im getting an error like

"<asp:ControlParameter doesnot have a property DbType="Int32"> "
i tried with Int64 also but still im getting the same error

following is the markup of sqldatasource i used
<
asp:SqlDataSource
ID="sdsEmployees"
runat="server"
ConnectionString="User Id=user;pwd=user1;server=prod" ProviderName="System.Data.OracleClient"
SelectCommand="GetEmployeeInfo" SelectCommandType="StoredProcedure"
OnSelecting="sdsEmployees_OnSelecting">
<SelectParameters> <asp:ControlParameter
ControlID="txtNumber"
DbType="Int32"
/> </SelectParameters> </asp:SqlDataSource>

View 1 Replies

Databases :: Use Link To Oracle In 4.0?

Jan 3, 2011

tried to use linq to oracle 10g express but it throws an error as I can make no errors because I throw

View 1 Replies

Databases :: Connect To Oracle DB?

Jul 8, 2010

Is required to install Oracle client software to connect Oracle DB?

As following code will generate exception, prompt:"System.Data.OracleClient requires Oracle client software version 8.1.7 or greater."

using System.Data.OracleClient;

string dataSource ="(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=addr)(PORT=pt))(CONNECT_DATA=(SERVICE_NAME=svc)))";

string connectionString=string.Format("Data Source={0};User Id={1};Password={2};",dataSource,"id","pwd");

using (OracleConnection connection=new OracleConnection(connectionString))

{

connection.Open();

}

View 1 Replies

Databases :: How Make SQL Query Run Under ORACLE

Jan 8, 2010

i have a SQL Query. It works fine in Sql server. let me know how to make it work in Oracle.

You can run below code in Sql server and check. It will work fine. But in Oracle,( I am using TOAD for Oracle )it is giving some errors.

Code]....

View 4 Replies

Databases :: How To Use Oracle Membership Provider For .Net

Apr 13, 2010

to Find website or write to me How to use Oracle Membership provider for ASP.Net and what changes should i do to Web.config and machine.config?

View 1 Replies

Databases :: Connecting To Oracle In A Web Application?

Feb 21, 2011

I am developing a web application with back end as Oracle. I call the procedures from web application when ever some update, create or delete for the records needs to be performed. How to maintain the connection in these scenarios.

Can I open the connection and maintain it through out the application till user logs out?

View 10 Replies

Databases :: InsertUpdateData Error Using C# .net With Oracle Db

Jun 8, 2010

here's my error... Compiler Error Message: CS1502: The best overloaded method match for '_Default.InsertUpdateData(System.Data.SqlClient.SqlCommand)' has some invalid arguments

here's my codebehind:

[Code].....

View 10 Replies

Databases :: Roles In .net / Oracle - What Is Best Practice For This

Apr 20, 2010

I'm using oracle for my asp.net website. In website I have 3 different roles. Now do I need to create as many diff users in oracle as roles?

Someone in team insisted on having as many users in oracle. But then unnecessarily i have to maintain multiple connection strings in app.

like, I have manager/ team leader/ user roles.

Now the team member insists on having 3 users in oracle. then in DAL i've to check role and use corresponding connection string.

This is not very big app, but in all 12-15 aspx pages and some 10 table in oracle to be used only on intranet.

what is best practice for this?

View 2 Replies

Databases :: Migration From Oracle To Sql Server?

Feb 1, 2010

I've developed a web app in Visual Studio 2008 using ASP.NET which connects to an Oracle database and a separate SQL Server 2005 database in the same application.

I want to convert this application to use SQL Server only. I have copied the Oracle tables that I need to SQL Server and am in the process of converting the SQL queries from Oracle format to SQL Server format.

I have also modified all the Connection Strings in web.config to point to the SQL Server database now and not the Oracle one.

However I have come across a problem. The TableAdapters are configured to use the OracleClient in the declarations code behind the scenes, i.e. it is "hard coded". But this causes problems of course while modifying/saving queries, because I don't want any trace of Oracle in my new web app.

The only thing I can think of is to delete all my TableAdapters and re-create them all.

View 6 Replies

Databases :: Migration From SQL Server To Oracle?

Feb 7, 2011

I need to transfer SQL Server databse to Oracle database.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved