mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-03-10 12:01:39 -04:00
fixed the bug with view triggers in object explorer (#639)
This commit is contained in:
@@ -116,6 +116,7 @@ NodeType: Column Label: LastName (Name(nvarchar), not null) SubType: Status:
|
||||
NodeType: Column Label: Suffix (nvarchar(10), null) SubType: Status:
|
||||
NodeType: Column Label: JobTitle (nvarchar(50), not null) SubType: Status:
|
||||
NodeType: Column Label: AdditionalContactInfo (AdditionalContactInfoSchemaCollection, null) SubType: Status:
|
||||
NodeType: Trigger Label: ViewTrigger SubType: Status:
|
||||
NodeType: Synonym Label: dbo.MyProduct SubType: Status:
|
||||
NodeType: StoredProcedure Label: dbo.uspGetList SubType: Status:
|
||||
NodeType: StoredProcedureParameter Label: @Product (varchar, Input, No default) SubType:Input Status:
|
||||
|
||||
@@ -241,6 +241,16 @@
|
||||
|
||||
GO
|
||||
|
||||
CREATE TRIGGER ViewTrigger on [HumanResources].[vEmployee]
|
||||
INSTEAD OF INSERT
|
||||
AS
|
||||
BEGIN
|
||||
Update [HumanResources].[Employee]
|
||||
set JobTitle = 'Test1'
|
||||
Where JobTitle = 'Test'
|
||||
END
|
||||
GO
|
||||
|
||||
CREATE TABLE [dbo].[tableWithAllDataTypes](
|
||||
[cDecimal] [decimal](18, 5) NULL,
|
||||
[cNumeric] [numeric](18, 2) NULL,
|
||||
|
||||
Reference in New Issue
Block a user