Viewing 15 posts - 1 through 15 (of 19 total)
yes I understand it and thanks everyone for providing the answers.
April 22, 2024 at 9:38 am
Actually Application is stable and live since many years and such kind of issue happened only few times. I am still trying to find anyway I can see the what...
April 18, 2024 at 7:17 am
Thanks for you reply.
You mean I need to create two separate triggers lime below?
CREATE TRIGGER TR_OrderDetails
ON dbo.OrderDetails
AFTER INSERT
AS
SELECT *
FROM Inserted;
GO
CREATE TRIGGER TR_OrderDetails_Del
ON dbo.OrderDetails
AFTER DELETE
AS
SELECT *
FROM Deleted;
GO
May 22, 2023 at 3:15 pm
Thank you. This seems good idea.
May 22, 2023 at 7:38 am
Hi,
Yes scenario is:
1:App Team , DBA team , Automated App Service Account have permission to do DML operations against table, e.g. they can only do the insert /update/delete against any...
February 3, 2023 at 1:54 pm
Hi,
I only want to track user based insert/delete and not the insert/update made by app(automated process). As there are 1000+ tables so I also don't want the performance of database...
February 3, 2023 at 1:49 pm
Thanks but this is more related to create DDL trigger and send alert for any DB OBJECT CHANGE events like Create/Alter/Drop etc
I am looking to alert if someone disable the...
September 2, 2022 at 11:42 am
Hi Jeff,
I have added the user as described above in earlier post and default database I have given is EMP. The user has just public access.
I added this line to...
August 19, 2020 at 11:57 am
Hi Both,
the code is same as I posted.
However if I use the single quote in second query then also same issue.
again posting the same code which is giving error
declare @subject...
January 10, 2020 at 2:38 pm
Sorry, It is single quote only in first query but still getting same exception.
January 10, 2020 at 12:28 pm
Yes I have put in job step.
full script as requested.
declare @subject varchar(255)
, @query nvarchar(4000)
, @body varchar(255)
, @sep varchar(1)
, @att varchar(50)
, @recip varchar(255)
select @recip = 's.smith@xyz.com;'
select @body = ''
select @subject =...
January 10, 2020 at 12:15 pm
Hi, I have setup sql job and used below query to get the data and then send email as attachment
select @query = 'SET NOCOUNT ON;select TicketDate, TicketNum,UploadDate,Amount, Name, DOB from...
January 10, 2020 at 11:48 am
Thanks John for reply.
Yes due to some reason we can't stop loading duplicate at first place. we can't modify the table schema as it used by other processes.
How I can...
January 9, 2020 at 9:48 am
I am using Sql Server 2016
My main requirement is to store the login account information , date and time into sql table whenever any one login to specific Database.
If the...
August 14, 2019 at 3:11 am
Viewing 15 posts - 1 through 15 (of 19 total)