Before Generation

Specify any Transact-SQL statement(s) to be executed immediately before the Next Key generation program is called.

For example:

DECLARE @UseParm FlagNyType SET @UserParm = CASE WHEN @Prefix IS NULL THEN 0 ELSE 1 END