Insert data into table using PreparedStatement - JDBC#6

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ก.ค. 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 ...

ความคิดเห็น • 43

  • @titanesqueman
    @titanesqueman 2 ปีที่แล้ว +20

    Didn't understand a word but the code was clean and self explained, thank you kind sir!

    • @srschool4298
      @srschool4298 2 ปีที่แล้ว +1

      haha its hindi language!

    • @semlon5266
      @semlon5266 10 หลายเดือนก่อน +1

      @@srschool4298it’s English 💀💀💀

  • @aryanchaurasia8192
    @aryanchaurasia8192 4 ปีที่แล้ว +6

    Bhuut bhuut Dhanyewaad bhaiya kaafi acha explanation kiye hai
    Jdbc ka itna acha explanation pure youtube. Pr nahi dikhaa

  • @ak256ak
    @ak256ak ปีที่แล้ว +1

    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.

  • @ankurchakraborty3999
    @ankurchakraborty3999 ปีที่แล้ว +8

    At 4.28 reminds me of evening prayer my mom does 😅

  • @vyavahareaditya5936
    @vyavahareaditya5936 ปีที่แล้ว +4

    But how to insert the values taken from the user using Scanner object????

  • @RAHULKUMAR-fn1fj
    @RAHULKUMAR-fn1fj 4 ปีที่แล้ว +3

    Ekdm acha pdate ho aap ....😍😍 helped me alot

  • @RohitSingh-rj5pd
    @RohitSingh-rj5pd 2 หลายเดือนก่อน

    Bahut babut thanks

  • @sounaksaha1455
    @sounaksaha1455 3 หลายเดือนก่อน

    Kya badiya samjhaate ho yaar.

  • @punammhaiske7609
    @punammhaiske7609 3 ปีที่แล้ว +2

    I really love the way you teach..thank you sir .

  • @harsh.jain22
    @harsh.jain22 3 ปีที่แล้ว

    thanks a lot sir....you helped me a lot

  • @virusehwag9562
    @virusehwag9562 4 ปีที่แล้ว +4

    Bhai very nice explanation👌👌
    Ur #JDBC videos has helped me a lot .....
    Keep it up 🔥🔥🔥

  • @roushnikumari2977
    @roushnikumari2977 ปีที่แล้ว

    Sir please make a video of the difference between statement and prepared statement! Because I understand very well from your videos.

  • @subhu143
    @subhu143 2 ปีที่แล้ว

    Kya explain karte ho sir maja agaya🥰😍

  • @romainegandhi5737
    @romainegandhi5737 ปีที่แล้ว

    Nice and crisp ❤️

  • @vinitraut4088
    @vinitraut4088 ปีที่แล้ว +2

    I'm getting error as: java.sql.SQLException: No value specified for parameter 2

  • @bloom6874
    @bloom6874 ปีที่แล้ว

    great explanation

  • @srschool4298
    @srschool4298 2 ปีที่แล้ว

    its so calming to just listen your voice !

  • @RahulBambale
    @RahulBambale ปีที่แล้ว

    nice bro

  • @RK-Sonide4vr
    @RK-Sonide4vr 5 หลายเดือนก่อน

    ❤‍🔥❤‍🔥❤‍🔥❤‍🔥

  • @shubhamkaneri1191
    @shubhamkaneri1191 3 ปีที่แล้ว

    Insert into select statement can you use in jdbc

  • @adityaraj-zm7zk
    @adityaraj-zm7zk 10 วันที่ผ่านมา

    sir in linux we could not set the path and when I run these program it should get error

  • @sanjushekhawat6446
    @sanjushekhawat6446 3 ปีที่แล้ว

    When am executed program exception show invalid host/ bind variable name how resolve??

  • @vaishnavibangar2561
    @vaishnavibangar2561 3 ปีที่แล้ว

    Thank you sir !!!

  • @shakilahamad2611
    @shakilahamad2611 ปีที่แล้ว

    sir we getting error during runtime mysql syntex error for parameterized statement

  • @divyagangaposhakkendra6055
    @divyagangaposhakkendra6055 2 ปีที่แล้ว +2

    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);

    • @sunnygoswami2248
      @sunnygoswami2248 2 ปีที่แล้ว

      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);

  • @flyingbomber
    @flyingbomber 2 ปีที่แล้ว +1

    jai mata di

  • @anilkumaryadav106
    @anilkumaryadav106 ปีที่แล้ว

    how to avoid duplicate insertion?

  • @silkysaurabh7478
    @silkysaurabh7478 8 หลายเดือนก่อน +1

    sir..meri run nhi ho rhi command prompt m...error aa rha h..please help me sir..

  • @Codestry
    @Codestry 4 ปีที่แล้ว

    I'm getting error as: java.sql.SQLException: No value specified for parameter 2
    if I'm deliberately giving no value for second parameter.

    • @Codestry
      @Codestry 4 ปีที่แล้ว

      Passing both the parameter is compulsory .. what to do if I want to make second parameter not compulsory.

    • @vinitraut4088
      @vinitraut4088 ปีที่แล้ว

      I'm getting error as: java.sql.SQLException: No value specified for parameter 2
      is there any so;ution for that

  • @StayAware9
    @StayAware9 ปีที่แล้ว +1

    Mummy piche puja kar rahi 4:17

  • @mahakgarg3152
    @mahakgarg3152 ปีที่แล้ว

    Bhuut bhuut Dhanyewaad bhaiya kaafi acha explanation kiye hai
    Jdbc ka itna acha explanation pure youtube. Pr nahi dikhaa

  • @RAHULKUMAR-fn1fj
    @RAHULKUMAR-fn1fj 4 ปีที่แล้ว

    Ekdm acha pdate ho aap ....😍😍 helped me alot

  • @RAHULKUMAR-fn1fj
    @RAHULKUMAR-fn1fj 4 ปีที่แล้ว

    Ekdm acha pdate ho aap ....😍😍 helped me alot