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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sp_helptext?

582


What is the difference between cross join and natural join?

554


what is auto increment? : Sql dba

563


how to run 'mysql' commands from a batch file? : Sql dba

603


How do I add a primary key to a table?

535






What is #table in sql?

513


Define the select into statement.

564


Can we alter stored procedure?

533


What is the difference between sql and mysql?

545


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

547


What are the types of index in sql?

525


Is microsoft sql free?

590


Does truncate require commit?

532


What is case function?

588


How do I count rows in sql query?

484