use of commit command?

Do I need to use the commit command in my SQL that I execute via an OracleCommand object?  Or is each query automatically committed?  Thanks.
Thanks,
B
0
BLundin
8/5/2003 10:21:15 PM
asp.net.oracle 2269 articles. 0 followers. Follow

2 Replies
644 Views

Similar Articles

[PageSpeed] 34

If you're not explicitly using an OracleTransaction object, then you do not need to explicitly call commit, I believe.
0
rponton
8/5/2003 11:25:49 PM
Yep, he don't need to call commit, since it's a sime command (and not attached transaction).

Oracle will takes care of it!
Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
sreedhark
8/6/2003 12:16:54 AM
Reply:

Similar Artilces:

Return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle
Hello, I am wondering if anyone in this community knows the shorter way to return an Oracle Ref Cursor to a .NET DataReader object by using the .NET Managed Provider for Oracle, something likereturn (IDataReader) SqlHelper.ExecuteReader(ConnectionString, "GET_ACCOUNT", Id); instead of using the way below (look at the C# code) Stored Procedure create or replace PROCEDURE "GET_ACCOUNT" ( p_ID IN ACCOUNT.ID%type, retCursor OUT SA.MYGEN.sqlcur ) IS BEGIN OPEN retCursor FOR SELECT ID, NAME FROM ACCOUNT WHERE ID = p_ID ; ...

which is shou i use? Microsoft .NET Framework 1.1 Data Provider for Oracle and the Oracle Data Provider for .NET
Microsoft .NET Framework 1.1 Data Provider for Oracle and the Oracle Data Provider for .NETI am confused?Which is better or which one should I use?BTW, I am going to use .net 2.0 with oracle 9. Can anyone tell me what shou I use for working with oracle database?Thanks very much in advance!Justin Oracle's data provider has more functionality than Microsoft's.If your doing transaction processing you can have SAVEPOINTs, which Microsoft's data provider does not provide.Also, Oracle has PL/SQL Associative Arrays which are very powerful.Oracle also allows you to bind parameters by name and pos...

Use of Net Use command to map a drive
--____ETNOBHIDCKMBHAFMGEBY____ Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; modification-date="Sat, 28 Mar 2008 13:05:52 +0000" I'm trying to find the correct syntax to enable the mapping of a netware = drive from a batch file. We are trying to use a backup utility that logs = into a Windows XP machine remotely, maps the netware drives then backs up = the mapped drives. Finaly it will delete the maps and logout. Has anyone any experience of exactly using the net use command to map a = drive...

Sending SMS using vb.net or C#.net using vb.net or c#.net
Hi  My requirement is I hav one csv file with these fields id,mobilenum,messgae,status.intiallu staus is 0. once i read the all fileds and take that mobile number.using tat mobile number  i need to send sms .after sending sms i shuld change status as 1 How to send sms thru coding (please dont provide any links.if it is provide also please give working links becox i checked codeproject .i didnt get any nice link. and also provide the how to update the status field im csv file   Thank ssandhya   To send SMS, you need some third party SMS providers. if you consul...

net use command
Hello out there. I have three net use commands in my log in script so my users can access things on windows servers. Two of the net use commands work perfectly. The other one is blown right by during the log process script as if it were not there. Why is this happening and what can I do to fix this? Thank you, Dan A confused novice. Can you post your login script and enumerate what portion works and what portion does not work ? -- Edison Ortiz Novell Product Support Forum SysOp (No Email Support, Thanks !) This is the login script I am having troubles with. T...

NET USE command
Hello, Maybe a really stupid question, but I'm really unsure about the following one : I have several Netware 6.5 servers and SLP is correctly setup with DA's and a named scope. I currently use the MAP command on an XP SP2 with Client32 4.91 box to map my drives to the netware volumes but noticed that a command like NET USE \\server1\data\homedir also works. Can I replace the MAP command by NET USE ? I thought NET USE only works with MS servers. Notice, that CIFS is disabled on server1 (CIFSSTOP). This would really speed up my VPN connections (login script pro...

Problem with Oracle Stored Procedures using ODP.NET in VB.NET (VS 2003)
This is the stored procedure,Procedure RetrieveReservations(pProperty In Varchar2,pResHeaderId In Varchar2,pEmail In Varchar2,pPasswd In Varchar2,ResultSet In Out ResCursor);This is the old .asp code (part of it)objConn.ConnectionString = Application("BackEndConnection_ConnectionString")objConn.Open objComm.ActiveConnection = objConn objComm.CommandText = "internet_package.RetrieveReservations"objComm.CommandType = adCmdStoredProc objComm.Parameters.Append objComm.CreateParameter("pProperty", adVarChar , adParamInput, 8, Request.QueryString("propid"))objComm.Parameters.Append objComm.Crea...

How call a Oracle Function using Microsoft .Net Oracle Client (System.Data.OracleClient)?
I try to call Oracle Function in .net C# by using System.Data.OracleClient. But i am not successful. Here is my code FUNCTION TTHAO_MONTT_EXISTS ( vten varchar2) RETURN boolean IS ret boolean; montt_id integer; BEGIN ret:=false; montt_id:= -1; select monthethao_id into montt_id from TTHAO_MONTHETHAO where ten = vten; if montt_id!=-1 then ret:=true; end if; return ret; Exception when others then return false; END; I do not know, when I call function TTHAO_MONTT_E...

Oracle store procedure problem using Powerbuilder and Oracle 8.0.4.0 Net
Powerbuilder version 6.0.00 / 6.5 Build 444 Oracle Net 8.0.4.0 I found there is problem with Oracle store procedure having more than 6 in parameters. I got GPF error on Window 95 and Dr. Watson error on NT. Also, I found it works find in Oracle Net 8.0.3.0. Is this a bug? Is there any new patch for this if it is a bug. Any recommendation about What version Oracle Net or SQL Net should I used for Oracle server version 8.0.4.0 (I don't think I am using any Oracle 8 new features)? Thanks in advance, Sharon Li If you use PB 6.5, you can try the new Oracle 8 driver: ftp...

How to use net use?
Please can any one tell me how to use the dos command net use properly? I have read the help but can't seem to get it to work. Keep getting sytax error message. Thanks in advance. "Beowulf" <who-knows@no-one.com> wrote in message news:9krutk$puu$1@news.grc.com... > Please can any one tell me how to use the dos command net use properly? > > I have read the help but can't seem to get it to work. Keep getting sytax > error message. what are you trying to do? There are about 50 options to "net use" that do a ton of different thin...

@NET USE Command Issues
We are mapping a windows share with the @NET USE command from the login script: Command Follows: @C:\Windows\System32\CMD.EXE /C start /B NET.EXE USE Q: \\bdo.com\CIM\DATA\NatlGroups It works great but... a problem creeps up when the user(s) log off their machine and bring the workstation back up without being connected to the corporate network. The Q: drive is still being mapped. We are not using the persistant command so I am still trying to figure out why this is still being mapped. -- eastmarw ------------------------------------------------------------------------...

NET USE command not working.....
Good Afternoon, I have a windows share that I would like to map via the login script. I have looked around for an answer, but have had no luck. Here is what I have tried: from the DOS prompt: NET USE L: \\ipaddress\share$ /USER:user password this works!! from a batch file in Windows Explorer: batch.bat NET USE L: \\ipaddress\share$ /USER:user password pause This works!! from the login script #NET USE L: \\ipaddress\share$ /USER:user password fails (never runs) @NET USE L: \\ipaddress\share$ /USER:user password fails (never runs) #batch.bat fails (never runs) @batch.bat fa...

urgent: .NET Provider for Oracle or Oracle Data Provider for .NET
If I want to access Oracle DB in ASP.NET application, and I am using .NET Provider for Oracle or Oracle Data Provider for .NET, should I have to install OracleClient on my .NET server? Is there other choice? Thank you very much.Johnson Johnson2007:should I have to install OracleClient on my .NET server?  You have to options1. install the ODP.NET on your web serverOR2. put the oracle assemblies in your BIN directory   Hi jimmy,Thank you for you reply. Because I could not find a server right now, I should test it first before I agree or disagree with you, as most articles I...

FOR XML and OPENXML using Oracle / using xml in ORACLE stored procedure
Hi, I need a help with respect to xml operations in ORACLE.For example, Need to send multiple rows at once into stored procedure.orNeed to  pass data (a single entity) to stored procedure as a xml from Data Layer ( Instead of individual params)In case of sql server, There is an approach like,     From Front End,   Serialize the entity collection or single entity as xml and send to the db.   Pass xml to stored procedure from Data Layer     sql server stored proc in turn,  &n...

Web resources about - use of commit command? - asp.net.oracle

Command - Wikipedia, the free encyclopedia
Text is available under the Creative Commons Attribution-ShareAlike License ;additional terms may apply. By using this site, you agree to the ...

Cameron Carpenter review: Bells and whistles matched by a command of the organ
It's certainly no exaggeration to call Cameron Carpenter's command of six keyboards (five for hands, one for feet) "genius". Purely in cognitive ...

Adele eclipses Taylor Swift to take command of the pop world
Adele Adkins is the first person to top the ARIA singles and albums charts in the same week since Swift exactly one year ago.

Command your club to victory in Sega’s Football Manager Mobile 2016
... How long can you survive on the Last Horizon? , and Dig, explore and collect stars in Starlit Adventures . Football Manager Mobile 2016 Command ...

How to craft your own custom voice commands for Amazon Echo's Alexa
With a little help from IFTTT, you can teach Alexa all sorts of new tricks. Here's how to get started.

Defense Sec Commands Military To Open All Combat Jobs To Women
Marine Corps' arguments against women in combat effectively crushed


Bethesda: Fallout 4 console commands 'not supported or recommended' on PC
In a very Bethesda-like fashion, messing around with console commands on the PC version of Fallout 4 might completely bug out your game more ...

Amazon Echo owners can create custom voice commands with IFTT
... item to your shopping list is pretty cool, but there comes a point where you start to feel the limits of the Echo's pre-programmed voice commands. ...

Chinese Hacker Group Uses Dropbox for Malware Command and Control
NEWS ANALYSIS: The current malware threat isn't targeting U.S. interests now, but the hacker group could easily turn its attention in that direction ...

Resources last updated: 12/10/2015 11:06:40 PM