I wrote my first trigger and it giving error
UES TRY
GO
CREATE TRIGGER cust_update
ON TRY
FOR UPDATE
AS
IF UPDATE (custno)
BEGIN TRANSACTION
RAISERROR('CUST NO CANNOT BE UPDATED',10,1)
ROLLBACK TRANSACTION
END
Any idea
`
skyyadav 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.