Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:42:22+00:00 2026-06-03T00:42:22+00:00

I need to update an ORA table with two CLOB columns. I have found

  • 0

I need to update an ORA table with two CLOB columns.

I have found many solutions for this (one with select x, y into x_loc, y_loc from table for update and then do a dbms_lob.write() + commit) but I realized that this one is as simple as it should be:

UPDATE table SET
    clob1 = TO_CLOB(VARCHAR2_VALUE),
    clob2 = TO_CLOB(VARCHAR2_VALUE)
WHERE condition

After executing this query from PHP application I encounter strange behavior when I cannot execute any other update on that table (and/or concrete row) – the application just hangs on right on another update (confirmed by debugging). When trying to do update query using sqldeveloper it seems there is no lock issue.

Is there any possibility that the table/row remained locked after the CLOB update?
Should I did/do a commit after the CLOB update using the given update query?
How can I release this lock if it is there?

Many thanks for Your answers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:42:28+00:00Added an answer on June 3, 2026 at 12:42 am

    You must commit every DML query (INSERT,UPDATE,DELETE) .

    It does not matter whether you use CLOB or no.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an HTML Table that looks like this: The user can update any
I have a table of about a million rows and I need to update
I need to update two tables inside a single transaction. The individual queries look
I need to update a table, and the Where clause should contain the last
I have two tables that need to be updated, Master and Identifiers: Master --MasterID
I need to create a view or a table valued function that returns one
I have an after update trigger (Trigger A) on table A which can make
Let's say I have two Databases like so : DatabaseA create table Table1 (
I need this update query to run on both SQL Server and Oracle. Our
I need to update an existing SharePoint content type by adding a new field

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.