Using code samples with SQL

The code samples in $SYBASE/$SYBASE_ASE/samples/messaging/sql illustrate how you can write or modify SQL (stored procedures, triggers, and so forth), to publish customized messages to the messaging system.

These samples also illustrate how to use SQL code to consume messages from the message bus, using Adaptive Server as both a participant in messaging and as an application using the message bus.