O'Reilly logo

Beginning Visual Basic 2015 by Bryan Newsome

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

12 Accessing Data Using Structured Query Language

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • What you need to know to complete this chapter’s exercises
  • What a database really is
  • Using the SQL SELECT statement
  • Examining the SQL JOIN statement
  • Using the SQL UPDATE statement
  • Examining the SQL DELETE statement
  • Using the SQL INSERT statement
  • Examining the SQL comment
  • How to execute queries in SQL Server

WROX.COM CODE DOWNLOADS FOR THIS CHAPTER

The wrox.com code downloads for this chapter are found at www.wrox.com/begvisualbasic2015 on the Download Code tab. The code is in the 092117 C12.zip download and individually named according to the names given throughout the chapter.

Most applications manipulate data in some way. Visual Basic 2015 applications often manipulate data that comes from relational databases. To do this, your application needs to interface with relational database software such as Microsoft Access, Microsoft SQL Server, Oracle, or Sybase.

Visual Studio 2015 provides the data access tools and wizards to connect to these databases and retrieve and update their data. In this chapter, you will look at some of these tools and wizards and use them to retrieve data from a database.

The next chapter concentrates on writing code directly, which gives you more flexibility and control than relying on Visual Studio 2015 to create it for you. With practice, writing code will also take less time than working through a wizard.

WHAT YOU NEED TO COMPLETE THIS CHAPTER’S EXERCISES

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required