syntex of insert

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are views used for?

614


What is temporal data type?

518


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

645


What are window functions in sql server?

508


What is the purpose of object explorer and its features? : sql server management studio

592






Is it possible in sql table to have more than one foreign key?

606


How can I add Reporting Services reports to my application?

91


How to configure odbc dsn with different port numbers?

557


What will be query used to get the list of triggers in a database?

541


How many types of cursor type are there?

586


How can change procedure in sql server?

517


Explain for xml explicit mode?

556


what purpose does the model database serve? : Sql server database administration

498


How can sql injection be stopped? : sql server security

542


When would you use the stored procedures or functions?

567