Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
sp_unbindrule rule1


How to Run this in SQL Server 2008 R2?
Posted
Comments
DamithSL 6-Dec-14 7:59am    
Check docs[^]
Sid_Joshi 6-Dec-14 8:03am    
already tried it, but still I cant do it
Kornfeld Eliyahu Peter 6-Dec-14 12:37pm    
It's seems all right! What went wrong? Did you have an error message to share?

1 solution

SQL
create rule dbo.rule1
as
@x not in('vashi')

sp_bindrule 'rule1','dbo.t3.A'
sp_unbindrule 't3.A'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900