TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
maria t
NA
12
1.2k
sql trigger & c#
Nov 27 2016 6:57 AM
Hi.why my error message in sql trigger,doesn't show in c#?
while this code run correct in c#.
CREATE TRIGGER [dbo].[trg_CheckBalance_me]
ON [dbo].[st_havaleh_info]
FOR INSERT,update
AS
BEGIN
SET NOCOUNT ON;
if ((select count_kala from st_seating where Code_kala=(select code_material from inserted )) < ((select count_unit from inserted)-(select count_unit from deleted)))
begin
ROLLBACK TRAN;
RAISERROR ('count of materials are low',16,1);
return
end
END;
go
Reply
Answers (
1
)
Write a CommandLine Program ,i.e proove Abstraction?
How to Disable Table if i use Radio Button by yes or No