Skip to Content
Beginning Visual Basic 2012
book

Beginning Visual Basic 2012

by Bryan Newsome
September 2012
Beginner
744 pages
19h 30m
English
Wrox
Content preview from Beginning Visual Basic 2012

Chapter 15

Accessing Data Using Structured Query Language

What You Will Learn in this Chapter

  • What you need to know to complete this chapter's exercises
  • Learning 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/remtitle.cgi?isbn=1118311813 on the Download Code tab. The code is in the 311813 C15.zip download and individually named according to the names given throughout the chapter.

Most applications manipulate data in some way. Visual Basic 2012 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 2012 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 2012 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Visual Basic 2015

Beginning Visual Basic 2015

Bryan Newsome
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole

Publisher Resources

ISBN: 9781118332047Purchase book