what is the syntax of INSERT command?

Answer Posted / subba rao

INSERT COMMAND CAN BE USED IN TWO WAYS

1.TO INSERT ALL VALUES INTO TABLE : VALUES INSERT INTO
<TABLE NAME> VALUES
(<COL_VALUE1>,<COL_VALUE2>...<COL_VALUEN>)

2.TO INSERT INTO SPECIFIED VALUES : INSERT INTO <TABLE
NAME> (<COL_NAME1>,<COL_NAME2>...<COL_NAMEN>)VALUES
(<COL_VALUE1>,<COL_VALUE2>...<COL_VALUEN>)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between substr and instr?

519


What are the advantages of oracle 12c?

555


How to retrieve values from data fields in record variables?

570


What are the common oracle dba tasks?

625


Can you create a synonym without having a table?

556






What are the major difference between truncate and delete?

519


Can you drop an index associated with a unique or primary key constraint?

587


What is the use of aggregate functions in oracle?

581


What is bulk copy or bcp in oracle?

609


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1702


What are dml statements in oracle?

620


What are the attributes that are found in a cursor?

650


Explain the use of analyse option in exp command.

589


How would you go about verifying the network name that the local_listener is currently using?

1605


Explain overloading. Can functions be overloaded?

574