Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trigger not showing 2

Status
Not open for further replies.

sparkbyte

Technical User
Joined
Sep 20, 2002
Messages
879
Location
US
Not sure what I have done.

In SSMS after creating a trigger.

Code:
Use MailroomTracking

Go

Alter Trigger trg_EmployeeProperName
    On tblEmployee

For Insert, Update

As
Begin

  Set Nocount On

  Update  dbo.tblEmployee
  Set     tblEmployee.EmployeeFN = dbo.fn_ProperCase(I.EmployeeFN),
          tblEmployee.EmployeeMI = dbo.fn_ProperCase(I.EmployeeMI),
          tblEmployee.EmployeeLN = dbo.fn_ProperCase(I.EmployeeLN)
  From    dbo.tblEmployee
          Inner Join Inserted As I
            On dbo.tblEmployee.EmployeePK = I.EmployeePK
End

The trigger does not show up in SSMS.

I thaught it should show up under
Databases
|
--> DDName
|
-->Programmability
|
--> Database Triggers

The trigger is running but I can't seem to find where it was saved to.





Thanks

John Fuhrman
 
That trigger seems to be applied to a table. Look under the table you you will see Triggers. Your trigger should be there, under tblEmployee

=======================================
People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world. (Calvin from Calvin And Hobbs)

Robert L. Johnson III
CCNA, CCDA, MCSA, CNA, Net+, A+, CHDP
VB.NET Programmer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top