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
Answer / manoj
It will fill the default value through out that column
by null
| Is This Answer Correct ? | 7 Yes | 0 No |
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 |
Answer / guest
IT WILL UPDATE NULL IN THE COLUMN IF YOU NOT PROVIDE ANY
VALUE.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ehtesham malik
if you set default value then it will update column with
null value.
| Is This Answer Correct ? | 1 Yes | 1 No |
what is bcp? When does it used? : Sql dba
Which is the best place to learn hadoop?
How to run sql commands in sql*plus?
What is the difference between delete and truncate statement in sql?
What are the modes of parameters that can be passed to a procedure ?
What are Anti joins
What is the purpose of the partition table?
Which sql statement is used to delete data from a database?
What do you mean by stored procedures?
What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql
What is fmtonly in sql?
What is the Subquery?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)