Transact-SQL allows you to group a series of statements as a batch, either interactively or from an operating system file. You can also use Transact-SQL’s control-of-flow language to connect the statements, using programming constructs.
A variable is an entity that is assigned a value. This value can change during the batch or stored procedure in which the variable is used. Adaptive Server has two kinds of variables: local and global. Local variables are user-defined, whereas global variables are supplied by the system and are predefined.
Copyright © 2005. Sybase Inc. All rights reserved. |