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 the different types of backups that exist?

691


How to start sql server browser service?

572


How to add a new column to an existing table with "alter table ... Add" in ms sql server?

585


What are dml (data manipulation language) statements in ms sql server?

560


What is the syntax for encrypting a column in SQL Server?

561






How do you know if sql server is running on your local system?

550


Explain what are the events recorded in a transaction log?

569


Explain about thread and memory management process of SQL?

550


What is a partition key?

528


What does it mean to invest in the index?

519


Do you know what are acid properties?

580


Tell me about pre-defined functions of sql?

700


How to create a testing table with test data in ms sql server?

569


What is a field name?

525


What are the differences between triggers and stored procedures?

547