Which one of the following is a reason that an INSERT
statement might cause an error instead of executing
correctly?
1. The INSERT statement was attempting to insert a record
into a view that was created from more than one table.
2. The INSERT statement was attempting to insert a record
using a combination of constants and values from an
existing table.
3. The INSERT statement was attempting to insert a record
with a non-NULL value into a table that has that column
defined as NULL.
4. The INSERT statement was attempting to insert a record
into a table by selecting a record from that same table.
5. The INSERT statement was attempting to insert a record
into a view rather than a table.
Answer / tulsi
1. The INSERT statement was attempting to insert a record
into a view that was created from more than one table.
we cannot modify more than one base table through a join
view.
| Is This Answer Correct ? | 9 Yes | 1 No |
What is nvarchar max in sql?
How many scalar data types are supported in pl/sql?
How many types of database triggers can be specified on a table ? What are they ?
Can you have multiple SPs with the same name on a database?
What is on delete set null?
Explain the components of sql?
----> There is a table T with two columns C1 and C2. The data is as below: C1 C2 1 4 2 5 3 6
What are the sql aggregate functions?
Is join same as left join?
How do you exit in sql?
What is the use of double ampersand (&&) in sql queries? Give an example
What is the usage of distinct keyword?
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)