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

  • Home
  • SEARCH
  • 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 6143213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:29:41+00:00 2026-05-23T18:29:41+00:00

I am trying to input data into an Oracle database. This is going to

  • 0

I am trying to input data into an Oracle database. This is going to be a stored procedure that takes several parameters… I mean like 27 parameters (don’t ask, I didn’t design it)…

Now I have to somehow populate the parameters of this stored procedure…
Most of the parameters that the stored proc takes are VARCHARS… but a couple are char or Date or Number values… Now, all the values will be string values from the function I am calling (I will be reading an XML doc and populating the values from there). Can I just input the Parameters through OracleParameterCollection.Add(Object) without having to Cast the objects and convert them to the correct Oracle Data Type? This is just a shot in the dark. Otherwise I am going to be writing a massive case switch statement (Kill myself now!). I think I know better though…

Since this is due Monday, I better start writing the case switch statement since I suspect that my request is impossible.

Thanks.

  • 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-23T18:29:42+00:00Added an answer on May 23, 2026 at 6:29 pm

    Yes, for many pairs of data types, Oracle will automatically convert the data for you. This certainly includes the conversion from strings to dates and numbers. With dates, you must however make sure, that the string has the format of the current NLS date settings.

    Appendix A of the ODP.NET documentation lists the supported conversions in table A-2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to call an Oracle stored procedure that accepts no input parameters. However,
I am entering some data into this database and then trying to display that
I'm trying to input some data into a PostgreSQL 8.4 database with a PostGIS
I'm trying to pass an array of ( varchar ) data into an Oracle
What I am trying to do is have a user input his data into
I'm trying to determine how to transform my meaningful input into data for an
I am trying to get bash data into a variable. The problem is that
I am trying to save unicode data (greek) in oracle database (10 g). I
I am trying to bulk insert some data into an oracle db. I followed
I've a problem importing data into a sqlite database. I go like this: I

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.