if we give update table_name set column_name= default.
what will happen?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What programs use sql?
can i call procedure in package
is mysql query is case sensitive? : Sql dba
if we give update table_name set column_name= default. what will happen? its given in pl sql block.what will hapen?
What is a cursor for loop ?
How collections are improve the performance?
Which certification is best for sql?
What is a stored procedure ?
How write primary and foreign key relationship between two tables without using constraints? u can use any of procedure/function/trigger and any sql?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
What does truncate mean in sql?
What are commit, rollback, and savepoint?
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)