EXEC sp_helptext on Rules : Create Rule « Constraints « SQL Server / T-SQL Tutorial






8>    CREATE RULE SalaryRule
9>       AS @Salary > 0
10> GO
1>    EXEC sp_helptext SalaryRule
2> GO
Text

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------








7.8.Create Rule
7.8.1.Define Rules
7.8.2.EXEC sp_helptext on Rules