Click here to Skip to main content
16,017,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi friends i need query for insert values into tables
eg
table 'book' :i need to insert 4 column values
values are typed by user page that values check two table(detail,root) if condition true then the 4 values should insert into book table
Posted

1 solution

If you are inserting a record, you need to insert into all the columns (unless you have defaults on some of them).
You cannot insert into a subset of table columns.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900