Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

abort(7) [suse man page]

ABORT(7)							   SQL Commands 							  ABORT(7)

NAME
ABORT - abort the current transaction SYNOPSIS
ABORT [ WORK | TRANSACTION ] DESCRIPTION
ABORT rolls back the current transaction and causes all the updates made by the transaction to be discarded. This command is identical in behavior to the standard SQL command ROLLBACK [rollback(7)], and is present only for historical reasons. PARAMETERS
WORK TRANSACTION Optional key words. They have no effect. NOTES
Use COMMIT [commit(7)] to successfully terminate a transaction. Issuing ABORT when not inside a transaction does no harm, but it will provoke a warning message. EXAMPLES
To abort all changes: ABORT; COMPATIBILITY
This command is a PostgreSQL extension present for historical reasons. ROLLBACK is the equivalent standard SQL command. SEE ALSO
BEGIN [begin(7)], COMMIT [commit(7)], ROLLBACK [rollback(7)] SQL - Language Statements 2010-05-14 ABORT(7)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Roll back problem

Hi, I have 5 sub processes which are updating and commiting different records of a single table.I have a problem here.I want to rollback all the transaction if any one of processes fails.Can any one of you gurus suggest how to go about it ? Thanks Tushar Johri (3 Replies)
Discussion started by: tushar_johri
3 Replies

2. IP Networking

WARNING: correctable error from pci0 (upa mid 0) during dvma read transaction.

I am getting the following message in /var/adm/messages Its harm to the system ?? in solaries 5.5.1 unix: WARNING: correctable error from pci0 (upa mid 0) during dvma read transaction. unix: unix: AFSR=40a200ff.80800000 AFAR=00000000.0132bee0, unix: double word offset=4, SIMM DIMM1 id 31.... (1 Reply)
Discussion started by: visveswaran
1 Replies

3. UNIX for Dummies Questions & Answers

SQL Spool equivalent command in DOS

(0 Replies)
Discussion started by: stevefox
0 Replies

4. Windows & DOS: Issues & Discussions

SQL Spool equivalent command in DOS

This question maybe in the wrong category but I'm posting here due to urgency. In DOS is there a command to perform a similar function to spool command in SQL or Script command in UNIX? I want to print all command line output to a file but I don't want to use the echo command for each line. ... (2 Replies)
Discussion started by: stevefox
2 Replies

5. Post Here to Contact Site Administrators and Moderators

Have we just had a rollback of a few hours?

Have we just had a rollback of a few hours? (1 Reply)
Discussion started by: porter
1 Replies

6. Shell Programming and Scripting

using SQL from Shell

Hi, I would like to access SQL plus from my unix, and learn to run some SQL scripts in Unix. How do i begin. Is there any known website that offers a quick tutorial or tips? Thanks, unxhopeful (1 Reply)
Discussion started by: unxhopeful
1 Replies

7. UNIX for Dummies Questions & Answers

SQL in Unix

Hi, I would like to access SQL plus from my unix, and learn to run some SQL scripts in Unix. How do i begin. Is there any known website that offers a quick tutorial or tips? Thanks, unxhopeful (4 Replies)
Discussion started by: unxhopeful
4 Replies

8. Programming

SQL Functions - PostgreSQL

Hi guys. I have some questions about SQL functions in postgresql: 1. Can a SQL function call another SQL function? 2. How about recursive calls? 3. Consider we have function that has a varchar argument. CREATE FUNCTION func(varchar) RETURN void AS $$ some SQL queries. ... (0 Replies)
Discussion started by: majid.merkava
0 Replies

9. UNIX for Dummies Questions & Answers

Help Command in SQL LOADER

Which is the UNIX command to get the SQL Loader Help??:confused: (1 Reply)
Discussion started by: venkatesh sunil
1 Replies

10. UNIX for Dummies Questions & Answers

Rolling back SQL transaction

Can some one help me related to .sql file issue. I have a .sqlfile and tried to read the file thru unix. In the .sqlfile I have error rows as well and when error comes I dont want to proceed further and need to roll back all the transactions. sample .sql file below insert into test... (2 Replies)
Discussion started by: sri_aue
2 Replies