Program with Transact-SQL