Appendix Bsql Primer; Syntax Basics - MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

This appendix describes how to use Structured Query Language (SQL) to create recordsets for
your dynamic pages. SQL (pronounced sequel) is a language that lets you read and write data from
a database. The language has only a few keywords and simple syntax rules, but still allows you to
perform sophisticated database operations.
Related topics
"About databases" on page 741
"Database design basics" on page 742
"Understanding recordsets" on page 526
Note: Macromedia does not provide technical support for third-party technologies such as SQL.

Syntax basics

One of the most frequently used SQL statements is the
specified columns from one or more database tables to build a recordset. Here's the basic syntax
for a
statement:
SELECT
SELECT ColumnName FROM TableName
You can add line breaks, tabs, and other white space to your statements to clarify the logic: SQL
ignores all white space. The following example shows a valid statement:
SELECT PaidDues
FROM Members
The following keywords identify commonly used SQL commands:
Keyword
SELECT
INSERT
UPDATE
DELETE
Description
Retrieves the specified records from a database
Adds a new record in a database table
Changes values in specified database records
Removes specified database records
APPENDIX B
SQL Primer
statement, which extracts
SELECT
753

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents