on 12-09-2012 8:12 AM
Hi
Can we create Stored Procedure Notification on UDT table . If Code of UDT table (TEMP) exists in TEMP1 or TEMP2 also UDT tables it should not be able to delete that record from TEMP table.
Thanks
Hi Sunny Brar...
Yes, It is Possible to create TN SP for the UDT...
Regards
Kennedy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny Brar..
IF @transaction_type IN ('A','U') AND @object_type = '-3'
BEGIN
IF EXISTS
(
select T0.Code from [@u_udt] T0 where
(T0.Code = @list_of_cols_val_tab_del ) and t0.code in ( select code from temp)
)
BEGIN
SELECT @Error = 1, @error_message = 'xxxxx'
END
END
The above is the sample change according to your tables and try..
Hope Helpful
Regards
Kennedy
Hi Sunny
Also your user table must be created as Data Master. Once done you go to the registration of objects and assigns an ID. Once you complete the registration of this object, you will not see in the list of user tables but you'll see in the list of objects, ie, in the Forms option by default.
Hope Helpful
Regards
Kennedy
Hi Sunny....
Check with the Link for How to use TN SP
Hope Helpful
Regards
Kennedy
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.