syntex of insert
Answers were Sorted based on User's Feedback
Answer / mahathi
insert into tablename (col1,col2,........) values
(val1,val2,........)
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / dk
Insert into tablename (c1,c1,c3,...) values(v1,v2,v3,...)
and we can also use
Insert into tablename values(v1,v2,v3,...)
but in this we must have to know numbers of columns and we
have to insert values for all not null columns
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / d
insert into (table name) values(fieldname datatype);
for ex:
insert into emp values(eno number(3),ename varchar2(20));
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jasmeet kaur
insert into table_name("column_name1","column_name2")
value("value1","value2")
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / gajanan.waghode
INSERT INTO table[(cloumn [,cloumn...])]
VALUES (value[,value...]);
with this syntax only one row is inserted at a time.
Is This Answer Correct ? | 0 Yes | 0 No |
How do you use a subquery to find records that exist in one table and do not exist in another?
What is an inner join?
What are the limitation of the Online Index Rebuild Operation?
What is the difference between Procedure and Function
4 Answers Accenture, Nagarro, TCS,
How to enable tcp/ip protocol on a sql server?
Can we rewrite subqueries into simple select statements or with joins? Example?
What is the difference between a primary key and a unique key? Are they the same?
Issues related in upgrading SQL Server 2000 to 2005 / 2008
Why do you need a sql server?
Do you know what is rank function?
What is sql injection? How to protect against sql injection attack?
what are default? Is there a column to which a default cant be bound?