In this video, I show you how to connect a basic Java Console Application to an SQL Server Database and execute queries to retrieve a single piece of data from the database. I provide a basic Java template as a starting point, and I write the Java code to fill in the blanks and query the database, and explain what I am doing and why at every step.
Software used in this video:
Java SDK v1.7 or v1.8
TextPad, NotePad, NotePad+
SQL Server 2012 or later
Table of Contents:
00:05 Review my Githib folder and Download ZIP of code
02:07 Extract ZIP file
03:12 Walkthrough of basics / starting Java code
09:35 Pre-emptive Compile and Run to make sure all OK
10:32 Develop getStringValueFromSQLDatabase () Java code
15:38 SQL Server, database querey
26:57 SQL Server - create user, give them access to 1 database, run Java code to execute query
30:58 Ending
My Github where you can find the source code:
https://github.com/MooseValley/Databa...
My Java Software Development YouTube channel:
http://tinyurl.com/MikesJavaVideos
My web page:
Moose's Software Valley - Established July, 1996.
https://rebrand.ly/MoosesSoftware
Sur cette page du site, vous pouvez voir la vidéo en ligne Java + SQL Server Database - Console App basics - Part 01 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur MoosesValley 23 janvier 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,146 fois et il a aimé 9 téléspectateurs. Bon visionnage!