how to insert data two tables using foreign key one jsp
Opened this issue · 4 comments
reddyas commented
iam using oracle
two tables are there team1 and team2 table is there
team1 table contains the teamid ,teamname here teamid is primary key
team2 table contains team2id and team2name ,teamid here teamid is foreign key
iam using jsp
iam inserting the data in jsp to two tables at a time
please tell me how to write a code in jsp
reddyas commented
how to write a code in jsp
mehul523 commented
provide the code you writting and i give the solution of that beause in jsp many way to insert data in database.
reddyas commented
Hai
Not required to use foreign key for inserting the data into two tables
Just you create two SQL queries for two tables I will send you code for
that with in one hour to mail
…On Fri, Jun 19, 2020, 10:56 AM mehul523 ***@***.***> wrote:
provide the code you writting and i give the solution of that beause in
jsp many way to insert data in database.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJUWNPMCJ3BYZKCFNPYDU3TRXLZJPANCNFSM4IGAJWFA>
.
mehul523 commented
hi
i suggest the link of tutorials it will be help to learn the jsp and servlets.
servlets link :
https://www.javatpoint.com/servlet-tutorial
jsp link:
https://www.javatpoint.com/jsp-tutorial