Viewing 15 posts - 91 through 105 (of 329 total)
Hello @jeff,
We use MAPS to collect SQL inventory from all servers, but MAPS cannot be automated.Are there any other free tools which can scan our network periodicaly and...
March 8, 2021 at 11:20 am
Thanks @jeff for your time and the elaborate answer.
February 23, 2021 at 5:56 am
Thanks for the feedback but my question was how do I autoupdate the decommisioned column using a query or some script that says the server is decommisioned ?...
February 19, 2021 at 6:23 am
Thanks, I will start with what you suggested.
FYI..All I trying to get was something quick and dirty...then build onto something more correct and in line with DB designs. I do...
February 2, 2021 at 5:42 am
All I meant was you picked up what exactly I wanted to get done....eventually..Thanks
February 2, 2021 at 5:35 am
Exactly , thats what you are looking at.
February 1, 2021 at 9:14 am
.
Are CTE's reallt the way to go for this . Every time I execute the stored procedure they are probably going to generate min(2 rows)...
January 3, 2021 at 2:54 am
@Brian Gale.
That would update all rows where Q=1 in the table which is not what is needed.Every time the stored procedure executes it will populate the same table...
January 2, 2021 at 11:30 am
I am not fixated on a while loop.Anything more efficient will work just fine.
January 1, 2021 at 5:46 pm
CREATE PROCEDURE [dbo].[ABCD]
(
@M int=0,@D int=0,
@F int=0,@Q int=0,@T datetime,@R int=0,
@RR datetime = NULL,@IO int=0
)
AS
BEGIN
DECLARE @I int = 1
DECLARE @QC int
SET @QC = @Q
DECLARE @Tm DATETIME
BEGIN
...
December 31, 2020 at 4:54 pm
Hello Brain, I guess I was not clear enough before. I have explained it again and hope it is clear.
I will explore CTE's.
Thanks for taking time to read through it.
December 23, 2020 at 5:37 am
Yes it did for most part of it.
The stored procedure takes Name, month or day as input and generates records accordingly.The records are generated as expected but for...
December 23, 2020 at 5:36 am
Viewing 15 posts - 91 through 105 (of 329 total)