Before Generation

Specify any Transact-SQL statements 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