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

how to enter binary numbers in sql statements? : Sql dba

0 Answers  


How does one load ebcdic data? : aql loader

0 Answers  


How do you update a table in sql?

0 Answers  


How does join work in sql?

0 Answers  


What is embedded sql what are its advantages?

0 Answers  






Show code of a cursor for loop.

0 Answers  


How to get unique records from a table?

0 Answers  


what are the properties and different types of sub-queries? : Sql dba

0 Answers  


Write a sql query to find the names of employees that begin with ‘a’?

0 Answers  


What will be the output of this Query? select to_char(trunc(add_months(sysdate-3),mm),mm/dd/yyyy) from dual

6 Answers   Cap Gemini, TCS,


What are the advantages of pl sql?

0 Answers  


Can we insert data into view?

0 Answers  


Categories