Java + SQL Server Database - Console App basics - Part 01

Veröffentlicht am: 23 Januar 2021
auf dem Kanal: MoosesValley
1,146
9

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


Auf dieser Seite können Sie das Online-Video Java + SQL Server Database - Console App basics - Part 01 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer MoosesValley 23 Januar 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,146 Mal angesehen und es wurde von 9 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!