Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 565041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:49:49+00:00 2026-05-13T12:49:49+00:00

How from ASP.NET I can call a stored procedure in an Oracle package that

  • 0

How from ASP.NET I can call a stored procedure in an Oracle package that accepts a VArray. The VArray will pass a list of keys that the stored procedure will use to modify appropriate records. I know I could send the keys in separate calls or send a delimited list, but I’d rather use an array.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T12:49:50+00:00Added an answer on May 13, 2026 at 12:49 pm

    Assuming you’re using ODP.NET (you shouldn’t be using System.Data.OracleClient anyway), here’s how to do it:

    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    
    class SomeClass
    {
        void SomeMethod(string connectionString, int[] anArrayOfKeys)
        {
            using (var con = new OracleConnection(connectionString))
            using (var cmd = con.CreateCommand())
            {
                cmd.CommandType = CommandType.StoredProcedure;
                cmd.CommandText = "StoredProcedureNameGoesHere";
                cmd.Parameters.Add(
                    "ParameterNameGoesHere",
                    OracleDbType.Array,
                    anArrayOfKeys,
                    ParameterDirection.Input);
    
                con.Open();
                cmd.ExecuteNonQuery();
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Do you know how can I call an ASP.NET .dll file from a PHP
In asp.net, you can retrieve MULTIPLE datatables from a single call to the database.
I'm looking for some kind of text-parser for ASP.NET that can make HTML from
My requirement is to call WCF web service from ASP.NET code behind and pass
How can I fetch data in a Winforms application or ASP.NET form from a
I have a few controls that inherit from ASP.NET buttons and use onserverclick .
Starting from ASP.NET MVC Preview 3, HTML.Button ( and other related HTML controls) are
Coming from ASP.NET Webform and Classic ASP. I want to know what are the
Migrating a project from ASP.NET 1.1 to ASP.NET 2.0 and I keep hitting this
I'm just starting to wean myself from ASP.NET UpdatePanels. I'm using jQuery and jTemplates

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.