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

Answers were Sorted based on User's Feedback



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

Answer / mano chinna

It Will update NULL to the column. In SQL, while
inserting and updating if you are assigning a column value
as DEFAULT keyword without single or doubled quote it will
take NULL automatically.

Is This Answer Correct ?    6 Yes 0 No

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

Answer / akki julak

if you gave a default value for that column

then it takes that default value

otherwise it takes NULL

Is This Answer Correct ?    7 Yes 2 No

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

Answer / meher

If any default value have been declare to that column when
creating the table then the defaul value will be updated.
Otherwise the column will be update by NULL.

Is This Answer Correct ?    1 Yes 0 No

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

Answer / kolla radha sri seshu

In SQL you will get the message 'X' rows updated
In PL / SQL you will get the message pl / sql procedure
sucessfully completed

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More SQL PLSQL Interview Questions

can we call a procedure from a function?

9 Answers   Mind Tree,


What will happen after commit statement ?

2 Answers  


what are the other commands to know the structure of table using mysql commands except explain command? : Sql dba

1 Answers  


Which are sql * plus commands?

1 Answers  


How do you remove duplicate records from a table?

1 Answers  


How does sql profiler work?

1 Answers  


1> how are u debugging in plsql ? 2> how to connect oracle database from unix. is there ne way other than using sqlplus ?

2 Answers  


How many triggers can be implemented for a table?

3 Answers   HSBC,


How sql query is executed?

1 Answers  


define sql

3 Answers   Zensar,


what are the advantages of package?

7 Answers   iFlex,


What is a sql statement?

1 Answers  


Categories