I have looked at these threads and while they are similar, they do not answer my question.
Can't see the triggers that I created in SQL Server Management Studio 2008
Unable to find where triggers are stored in sql server 2008
Where does a Server trigger save in SQL Server?
In SSMS 17.9.1 (SQL Server 2017), I can see the trigger exists when using this code
select * from FocalAreas.sys.triggers
I can also see on the SharingPermissionTest (table where I want the trigger) > View Dependencies, the trigger is there. However, when I expand the SharingPermissionTest trigger folder, there is nothing there. When I expand the Programmability > Database Triggers on the database there is nothing there. When I expand the Server Objects > Triggers there is nothing there. Anybody have any insight into what's going on? This was my SQL to create the trigger:
USE FocalAreas
GO
CREATE TRIGGER dbo.SharingPermissionsTrigger
ON FocalAreas.dbo.FOCALREFERENCEAREAS
AFTER INSERT
AS BEGIN
DECLARE @FocalRefID nvarchar(50)
DECLARE @StateID nvarchar(2)
SELECT @FocalRefID = i.FocalRefID
FROM Inserted i
WHERE 1=1
SELECT @StateID = mp.StateID
FROM Inserted i, FocalAreas.dbo.MonitoringPoint as mp
WHERE i.FocalRefID = mp.FocalRefID
INSERT INTO FocalAreas.dbo.SharingPermissionsTest
Values
(next value for SharingPermissionSequence, @FocalRefID, 'NBTC', @StateID,
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed'
,'Not Allowed'),
(next value for SharingPermissionSequence, @FocalRefID, 'StateWildlifeAgency', @StateID,
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed'
,'Not Allowed'),
(next value for SharingPermissionSequence, @FocalRefID, 'FedPartners', @StateID,
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed'
,'Not Allowed'),
(next value for SharingPermissionSequence, @FocalRefID, 'NGO', @StateID,
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed'
,'Not Allowed'),
(next value for SharingPermissionSequence, @FocalRefID, 'Public', @StateID,
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed',
'Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed','Not Allowed'
,'Not Allowed')
END
GO