|
Home > Online Product Documentation > Table of Contents > Composing SQL/XML in Stylus Studio Composing SQL/XML in Stylus StudioThere are two ways to compose SQL/XML in Stylus Studio: You can enter any valid SQL/XML statements in the SQL/XML editor's SELECT and UPDATE tabs, though only those statements for which you have permissions will be executed. Manually Entering SQL/XML
When you type a qualified name in the
SELECT or
UPDATE tabs of the editor, Stylus Studio's auto-completion feature displays a list of valid names. For example, when you type the period in this statement,
To finish the statement, select the object name from the drop-down list and press Enter (or just double-click). Using Drag-and-DropWhen you use drag-and-drop to compose SQL/XML, you start by selecting an object (a table or a column, for example) from the database schema tree and dragging it to the SQL/XML editor. When you drop the object (by releasing the mouse button) on the editor, Stylus Studio displays a shortcut menu of choices for that object. These include
Example
Following is an example of the INSERT statement Stylus Studio creates using the
How Relational Data is Translated to XML
Consider the following illustration of an excerpt from the
As you can see, the
If we write a SELECT statement (
Notice that each record in the table (that is, each author) is rendered as a separate
|
XHTML Tools
Powerful XHTML Tools for converting HTML to XHTML, validating XHTML, transforming XML to XHTML, editing JSP, creating XML driven Websites and more.
XQuery Talk
Join the XQuery Talk mailing list for a practical discussion about XQuery. It's a place to work together to learn a new language, talk about problem solutions, discuss engines and implementations, chat about the latest XQuery news and more.
Stylus Studio Lends a Helping Hand to the New Orleans Reconstruction Efforts
Read how Stylus Studio is helping with the on-going hurricane Katrina reconstruction efforts in New Orleans.
Support for DataDirect SequeLink
Learn about Stylus Studio's support for DataDirect SequeLink, an end-to-end database middleware solution that provides a universal thin client for ODBC, JDBC, ADO or .NET, providing flexibility for both client- and server-based deployments.