Viewing 13 posts - 1 through 13 (of 13 total)
ok, thanks
November 21, 2018 at 10:30 am
Here is the script for the change of statement if in simple mode. The reason I mention this is because I have changed our database to simple mode. When I...
November 21, 2018 at 9:41 am
Thank You to everyone for all the help.
November 20, 2018 at 3:08 pm
understood. I reviewed a script that had a command at the end and the command had to change according to the recovery model. Can't find it and I don't remember...
November 20, 2018 at 2:50 pm
Thank you, that works perfectly and is easy to understand what the script is doing
GOOD JOB!!!
Will anything have to change when I move the recovery model to Simple? ...
November 20, 2018 at 2:38 pm
1. How can I make this loop until the IF statement is false?
2. I don't care what records are deleted and I just want to keep the row...
November 20, 2018 at 7:46 am
email worked flawlessly. THANK YOU>>>>
I need to create the delete loop of 4K records at a time until there are 200K records remaining by calling a stored procedure
November 15, 2018 at 1:07 pm
This works to send email but how can I insert the @tableRows in the body of the email?
USE Alarms
DECLARE @tableRows int
SELECT @tableRows=COUNT(1) FROM [GW-PLC].[AllEvent]
November 15, 2018 at 10:46 am
good idea, thanks.
November 15, 2018 at 7:50 am
ok
I will work on that
I have the database copied into a test system to run the sql statements against.
November 14, 2018 at 8:44 am
I see the 2 parts. Loop delete / email. What is the best way to incorporate this? How do I incorporate the loop delete statement into the last sql statement?
November 14, 2018 at 8:20 am
Thank you for the information. It is very helpful.
The link explains how to handle the loop process. Why does it say "but for it to have meaning, batch size...
November 14, 2018 at 7:14 am
Good question.
Yes, This column is good with event date/time stamp [EventTimeStamp] [datetime2](7) NULL,
Definitely want to delete the oldest records first.
Couldn't figure out how to edit the title. The...
November 13, 2018 at 10:17 am
Viewing 13 posts - 1 through 13 (of 13 total)