Featured post
sql - Why do I get an open transaction when just selecting from a database View? -
if execute simple select statement in pl/sql developer against database table, standard set of results expect.
recently, pasted query stored procedure happened select view, , noticed transaction seemingly left open. appraent rollback , commit options available in pl/sql developer.
a poll of other developers revealed seems affect not others, lead me suspect pl/sql developer settings.
why on earth case? view itelf has dblink database, wouldn't expect have effect.
any thoughts?
any sql statement starts transaction in oracle.
a transaction begins first executable sql statement. transaction ends when committed or rolled back, either explicitly commit or rollback statement or implicitly when ddl statement issued. [...] executable sql statement sql statement generates calls instance, including dml , ddl statements
most not seing running in auto-commit mode transaction started statement committed after statement has finished.
others have claimed select
not dml, again the manual states:
data manipulation language (dml) statements query or manipulate data in existing schema objects. enable to:
* retrieve or fetch data 1 or more tables or views (select)
* add new rows of data table or view (insert)
[...]
- Get link
- X
- Other Apps
Comments
Post a Comment