Viewing 15 posts - 211 through 225 (of 2,900 total)
Any time this combination of values changes, you will get a new line. So pare down the fields in your select and group by until you only get what you...
October 8, 2021 at 7:20 pm
In SQL Server 2019 you can also utilize the GREATEST function.
That documentation seems to suggest that it's only available on Azure instances and not "standalone" instances. Can someone...
October 8, 2021 at 2:22 pm
Were the backups working, and just started failing ? Configuration change ?
What tells you they failed ?
October 7, 2021 at 4:02 pm
I use the first 2 fingers on each hand, and also the ring finger on my left hand for the 'A' key and the <shift> key. I use my thumbs...
October 4, 2021 at 7:46 pm
That might work if I can figure out how to get line breaks after each row.
September 29, 2021 at 4:16 pm
Hi Scott,
like I mentioned earlier, the WHERE clause is added afterwards in my application (so the user can choose to see archived corporations only, active corporations only or both)....
September 27, 2021 at 6:13 pm
Edit...
September 22, 2021 at 7:28 pm
Is this some kind of guessing game contest ?
September 22, 2021 at 7:15 pm
I have never encountered that. Is it possible some step is running after the restore that changes the recovery model ?
September 22, 2021 at 7:11 pm
I don't think your group by should include
s.OH,
o.SOQ,
September 22, 2021 at 7:09 pm
" ...There's also nothing that will prevent the user from changing databases after they login and, they usually do have to. Most people end up being taken to the "Default Database"...
September 21, 2021 at 1:13 pm
How about
INSERT INTO DataMap.dbo.Audit_Logins
SELECT ORIGINAL_LOGIN(), GETDATE()
where db_name() = 'DataMap'
September 20, 2021 at 9:11 pm
--Create a symmetric key, to be used for column encryption
CREATE SYMMETRIC KEY BeersKey
WITH ALGORITHM = AES_256
ENCRYPTION BY CERTIFICATE Beers;
'qwerty123' is more complex. I never encrypt my beer,...
September 17, 2021 at 5:09 pm
Now that you're on paid SQL 2014, have you configured compression in your backups, since you mentioned storage is a consideration ?
Using a SQL Scheduled job to run backups has...
September 17, 2021 at 2:05 pm
Viewing 15 posts - 211 through 225 (of 2,900 total)