Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle and Dotnet
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
-- MJBReceived on Thu Jun 02 2005 - 15:24:15 CDT
![]() |
![]() |