Book Image

Learning SQLite for iOS

By : Gene Da Rocha
Book Image

Learning SQLite for iOS

By: Gene Da Rocha

Overview of this book

The ability to use SQLite with iOS provides a great opportunity to build amazing apps. Apple's iOS SDK provides native support for SQLite databases. This combination offers the potential to create powerful, data-persistent applications. This book starts with the architecture of SQLite database and introduces you to concepts in SQL . You will find yourself equipped to design your own database system, administer it, and maintain it. Further, you will learn how to operate your SQLite databases smoothly using SQL commands. You will be able to extend the functionality of SQLite by using its vast arsenal of C API calls to build some interesting, exciting, new, and intelligent data-driven applications. Understand how Xcode, HTML5, and Phonegap can be used to build a cross-platform modern app which can benefit from all these technologies - all through creating a complete, customizable application skeleton that you can build on for your own apps.
Table of Contents (15 chapters)
Learning SQLite for iOS
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Updating Views


A VIEW is a command that can use a combination of tables and joins to show the user or program a set of predefined data, as required. Effectively, it gives you a view of the data. You cannot DELETE, UPDATE, or INSERT from a view.

As a view is defined with a specific name, which is stored in the database, it can be effectively referenced as a table to another SQL statement, as part of a statement to be manipulated.

If a keyword such as Temporary or Temp exists within the create and view words, then that view is only seen by that database connection and is removed upon the connection closing, hence the temp/temporary name.

If a database name is referenced when the view is created, it will reside within that specific database.