Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Oracle and Dotnet
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Larry  
View profile  
 More options Jun 2 2005, 6:32 pm
Newsgroups: comp.databases.oracle.server
From: Larry <la...@larry.com>
Date: Thu, 02 Jun 2005 22:32:54 GMT
Local: Thurs, Jun 2 2005 6:32 pm
Subject: Re: Oracle and Dotnet

pobox...@bebub.com wrote:
> You are not using bind variables and over parsing. Each time you build
> that string it is a unique statement that needs validating and
> compiling.

> You should have something like

> string SQL = "insert into test values (?)";

> and bind the placeholder. Sorry I am not a C# programmer so I don't
> have the syntax, but there should be ODP.NET code examples on
> http://otn.oracle.com

Thanks for that reply.  I changed my string to

=============================================
string SQL = "insert into test values ('1')";
=============================================

By doing that I removed the variable and simply deposited a constant.
My performance did improve from 35 to 40 inserts per second but that is
still way short of any usable rate for my application.

Thanks again!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.