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

its given in pl sql block.what will hapen?

Answers were Sorted based on User's Feedback



if we give update table_name set column_name= default. what will happen? its given in pl sql blo..

Answer / manoj

It will fill the default value through out that column
by null

Is This Answer Correct ?    7 Yes 0 No

if we give update table_name set column_name= default. what will happen? its given in pl sql blo..

Answer / 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

if we give update table_name set column_name= default. what will happen? its given in pl sql blo..

Answer / guest

IT WILL UPDATE NULL IN THE COLUMN IF YOU NOT PROVIDE ANY
VALUE.

Is This Answer Correct ?    3 Yes 0 No

if we give update table_name set column_name= default. what will happen? its given in pl sql blo..

Answer / ehtesham malik

if you set default value then it will update column with
null value.

Is This Answer Correct ?    1 Yes 1 No

if we give update table_name set column_name= default. what will happen? its given in pl sql blo..

Answer / selvan

It shouldn't occured any error.
It'll update but value is empty(i.e columns having empty
values)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What is nvarchar max in sql?

0 Answers  


How many sql are there?

0 Answers  


What are properties of the transaction?

0 Answers  


Are sql connections encrypted?

0 Answers  


What is the difference between mdf and ndf files?

0 Answers  






What are the 3 modes of parameter?

0 Answers  


What is a table partition?

0 Answers  


Explain what is an index?

0 Answers  


What are the built in functions of sql?

0 Answers  


declare lowerl number:= 1; upperl number:= 3; num varchar2(10); begin for i into lowerl..upperl loop num:=num||to_char(lowerl); if i=3 then upperl:=5; end loop; message(num); What will be the output ?

3 Answers   Oracle,


what is the difference between group by and order by in sql? : Sql dba

0 Answers  


How sql query is executed?

0 Answers  


Categories