Viewing 4 posts - 1 through 4 (of 4 total)
could you please help me with the code??? I dont know how sqlcmd works...
thanks,
sid
December 22, 2008 at 9:24 pm
thanks renuka it worked... instmsdb.sql script can be found in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Install
November 11, 2008 at 10:27 pm
CREATE TRIGGER emp_trig ON humanresources.employee
after UPDATE
AS
INSERT INTO humanresources.employee
SELECT *,DATEDIFF(yy,birthdate,hiredate) YearsPassed FROM deleted
tried the above code but didnot work...
plz help me to correct the code to get the result properly
October 23, 2008 at 4:42 am
Viewing 4 posts - 1 through 4 (of 4 total)