Database Administration (MOSC)

MOSC Banner

18c : ALTER SYSTEM CANCEL SQL 'SID, SERIAL [, @INST_ID] [, SQL_ID]';

edited Mar 18, 2019 9:22AM in Database Administration (MOSC) 2 commentsAnswered

Hello ,
An Oracle 18c new feature is to kill only one query in a session.
ALTER SYSTEM CANCEL SQL 'SID, SERIAL [, @INST_ID] [, SQL_ID]';

How to handle this feature in a batch with a session having multiple queries that run sequentially.
Do I have to manage a return code of the command ?

Best regards.

GD.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center