if we give update table_name set column_name= default.
what will happen?

its given in pl sql block.what will hapen?

Answer Posted / gopal

If default is speceified for the table then it will update
with default value. Else it will update null values

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does one load ebcdic data? : aql loader

645


What is clustered index sql?

503


What is execution plan in sql?

546


what is timestamp in mysql? : Sql dba

563


Is trigger a stored procedure?

503






How to fetch values from testtable1 that are not in testtable2 without using not keyword?

751


Explain about various levels of constraint.

521


What are the ways on commenting in a pl/sql code?

511


What are the two types of exceptions.

631


what's the difference between a primary key and a unique key? : Sql dba

504


How many aggregate functions are available there in sql?

526


How do I save the results of sql query in a file?

533


How do you update a sql procedure?

521


What is number function in sql?

525


Table 1: col1 Timestamp ---------------- 01-mar-2012 11:12:46 Table 2: col2 Timestamp -------------------- 01-mar-2012 11:12:10 01-mar-2012 11:11:23 Write a query to display a row with table2 col2 value less than tabl1 col1 value. Maximum timestamp value previous to table1 col1 value. Display a result as: Col1 col2 ----- ----- 01-mar-2012 11:12:46 01-mar-2012 11:12:10

1724