what is the syntax of INSERT command?

Answer Posted / vara prasad vizag

Syntax:
INSERT INTO <Table-Name> ( Col1,Col2....)
VALUES(Val1,Val2...);

Example:
INSERT INTO StudentInfo (Studno,Fname,Lname,DOB,DOJ, Gender)
VALUES(1234,'Varaprasad','Vizag','17-Nov-85','M');

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is truncate autocommit in oracle?

838


How to run the anonymous block again?

819


How to assign a table row to a record variable?

760


What is a partition in oracle?

773


What do you mean by a database transaction & what all tcl statements are available in oracle?

762


How do I connect to oracle?

747


How do you find current date and time in oracle?

775


How to resolve name conflicts between variables and columns?

782


What is difference between cartesian join and cross join?

795


How to execute the package in oracle?

802


What is a snapshot log?

759


What is format trigger?

1824


> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?

1791


Explain rename?

733


How to create tables for odbc connection testing?

707