SQL Language (MOSC)

MOSC Banner

Select * from Table Name for update

edited Aug 19, 2010 9:51PM in SQL Language (MOSC) 4 commentsAnswered
  Hi

I would like to know that from  oracle coding best practices how does "select * from <table name> for update"  compares to "update <table name> set <col name> = <value>"
why would someone use "select * from <table Name> for update" ? Is this possible that this can cause database locking? Is there a better alternate for this update statement?


thanks

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