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 a rank in sql?
What is t-sql? : Transact sql
How do you declare a user-defined exception?
Can pl sql procedure have a return statement?
What is the mutating table and constraining table?
Can we join two tables without common column?
What is snowflake sql?
how many ways to get the current time? : Sql dba
Does truncate table reset auto increment?
what is sp_pkeys? : Transact sql
While inserting/updating million of records into a database table, how do I came to know how many records has been inserted or updated successfully so far?
Show code of a cursor for loop.
Oracle (3253)
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)