Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server on Linux

You're reading from  SQL Server on Linux

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781788291804
Pages 222 pages
Edition 1st Edition
Languages
Toc

Table of Contents (19) Chapters close

Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Linux Distributions 2. Installation and Configuration 3. SQL Server Basics 4. Database in the Sandbox 5. Sample Databases 6. A Crash Course in Querying 7. Backup and Recovery Operations 8. User Management 9. Implementing Data Protection 10. Indexing 11. In-Memory OLTP 12. Beyond SQL Server

DML statements


DML or Data Manipulation Language statements are a set of classic SQL commands used to work on the data (records inside the tables). They are: INSERT, UPDATE, DELETE and SELECT. We can use them directly (ad hoc) or through different sets of applications, as a CRUD layer (CREATE, READ, UPDATE, and DELETE). Here are the explanations of DML commands:

  • INSERT: Adding new records in to tables
  • UPDATE: Modifying existing rows inside the tables
  • DELETE: Removing records from the tables
  • SELECT: Read-only access to the records stored inside the tables

We will learn more about SELECT in Chapter 6, A Crash Course in Querying.

Data manipulation

Now, we will start working with concrete data based on the foundation that we've created in the previous steps. So, we will use our University database to enter initial data into tables and test basic manipulation with the data:

  1. If you are not already in it, change the focus of the current database to University:
1> USE University
        2> GO
    ...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime