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 |
What is the difference between a local and a global temporary table?
Can we do dml on views?
Explain boyce and codd normal form(bcnf)?
What is a mutating table error and how can you get around it?
Wht is SQL Injection Attack ?
what are the different types of replication you can set up in sql server? : Sql server database administration
Do you know what is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
How can I get data from a database on another server?
here id col have primary key and identity id name 1 a 2 b 3 c 4 d delete 2nd row then o/p will be id name 1 a 3 c 4 d next inssert 2nd row and i want o/p will be id name 1 a 2 e 3 c 4 d
Tell me can we use custom code in ssrs?
I am learning Testing, so i want to learn SQL also because SQL is important for Testing. I want to know which is best Institute in Ameerpet or SR Nagar or any other place in Hyd? Please help me.
what is a correlated sub-query? : Sql server database administration
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)