Insert data into table using PreparedStatement - JDBC#6
Vložit
- čas přidán 14. 07. 2019
- Insert data into table usiing PreparedStatement .
In this video i will explain how to insert data into table using preparedstatement.
How to execute dynamic query .
how to execute parameterized query.
Steps to connect with database: • Steps to Connect with ...
Bhuut bhuut Dhanyewaad bhaiya kaafi acha explanation kiye hai
Jdbc ka itna acha explanation pure youtube. Pr nahi dikhaa
Han Aryan really
Didn't understand a word but the code was clean and self explained, thank you kind sir!
haha its hindi language!
@@srschool4298it’s English 💀💀💀
At 4.28 reminds me of evening prayer my mom does 😅
😄
Thanks a lot!😭. For past 1 month I was searching the internet on how to pass a variable data to query but at last I found your and my problem was solved.
Again thanks a a lot.
Kya badiya samjhaate ho yaar.
Bahut babut thanks
But how to insert the values taken from the user using Scanner object????
Ekdm acha pdate ho aap ....😍😍 helped me alot
thanks a lot sir....you helped me a lot
I really love the way you teach..thank you sir .
Bhai very nice explanation👌👌
Ur #JDBC videos has helped me a lot .....
Keep it up 🔥🔥🔥
Thnks bro😘
its so calming to just listen your voice !
awaaz aati hi kaha hai video m
❤🔥❤🔥❤🔥❤🔥
Sir please make a video of the difference between statement and prepared statement! Because I understand very well from your videos.
I'm getting error as: java.sql.SQLException: No value specified for parameter 2
Kya explain karte ho sir maja agaya🥰😍
Nice and crisp ❤️
great explanation
nice bro
When am executed program exception show invalid host/ bind variable name how resolve??
Insert into select statement can you use in jdbc
Hie Durgesh Sir , For me it throwing this error..can you please tell how to resolve it
PrepardStatement.java:16: error: incompatible types: java.sql.PreparedStatement cannot be converted to PreparedStatement
PreparedStatement pstmt=con.prepareStatement(q);
Just check if you are using correct import statement for sql, it should be
import java.sql.*;
After this if it still doesn't work, check if you have created the connection correctly - It should be --
Connection con = DriverManager.getConnection(url, uname, pswd);
jai mata di
sir we getting error during runtime mysql syntex error for parameterized statement
Thank you sir !!!
sir..meri run nhi ho rhi command prompt m...error aa rha h..please help me sir..
how to avoid duplicate insertion?
I'm getting error as: java.sql.SQLException: No value specified for parameter 2
if I'm deliberately giving no value for second parameter.
Passing both the parameter is compulsory .. what to do if I want to make second parameter not compulsory.
I'm getting error as: java.sql.SQLException: No value specified for parameter 2
is there any so;ution for that
Mummy piche puja kar rahi 4:17
Bhuut bhuut Dhanyewaad bhaiya kaafi acha explanation kiye hai
Jdbc ka itna acha explanation pure youtube. Pr nahi dikhaa
Ekdm acha pdate ho aap ....😍😍 helped me alot
Ekdm acha pdate ho aap ....😍😍 helped me alot