Viewing 15 posts - 106 through 120 (of 348 total)
Thank you all for the responses.
And how do we draw a parallel between indexes and statistics(updated/not updated).
Ex: Something like a query which gives me an index and its statistics and...
May 3, 2021 at 7:38 am
Hello @Brian,
Method1 :This works:
Data is encrypted upon insert.
USE MyDB;
GO
OPEN SYMMETRIC KEY SK1
DECRYPTION BY CERTIFICATE C1;
GO
INSERT into
[dbo].[SQLCredentials]
([Server],
[Password],
[Password_Encrypted])
VALUES
(N'ABCXYZ ',N'sdf^jh&k*',ENCRYPTBYKEY(key_guid('SK1'),'sdf^jh&k*'))
GO
CLOSE SYMMETRIC KEY SK1;
GO
USE MyDB;
GO
OPEN SYMMETRIC...
March 12, 2021 at 10:48 pm
Thanks @Brian for the detailed explanation and your time.
March 12, 2021 at 3:15 am
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 identify for...
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 ? My actual...
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) or max...
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 with as...
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
Viewing 15 posts - 106 through 120 (of 348 total)