Viewing 15 posts - 31 through 45 (of 105 total)
Thanks a bunch for the tips.
Ed - I saw the first article but didn't know about the second. I will give it a read.
June 16, 2017 at 8:59 am
Haha yes, I don't know how I missed doing that. Thanks a bunch for the help!
June 14, 2017 at 2:23 pm
Ah, good suggestion on deleting directly from the CTE. That should make things a little faster. Thanks again.
January 11, 2017 at 2:20 pm
I promise to not keep bugging you on this 🙂 but I've run into one more issue with my cleanup script.
Here is my setup:
--Create table
USE MASTER
CREATE TABLE UserLogon
(
UserName NVARCHAR(255),
Dt...
January 11, 2017 at 12:19 pm
Good idea. I'll try that. Thanks again.
January 10, 2017 at 9:34 am
I hope you won't mind me asking for a little more help on this. I've been testing this script and things were going well until this morning. I have around...
January 10, 2017 at 8:49 am
Thank you again very much for the helpful explanations! I appreciate you taking the time.
December 20, 2016 at 11:27 am
Do you mind if I ask one more question? Obviously your code works and mine didn't. However, do you use the @@ROWCOUNT method because it is faster? I've pretty new...
December 16, 2016 at 3:19 pm
The three part naming convention did the trick. Thanks again.
I took the suggestion to insert if the username doesn't exist and update if it does. I found out quickly why...
December 16, 2016 at 2:54 pm
Ha, I've never heard the term "upsert". That's brilliant 🙂
I have a meeting, but then I will take these latest suggestions and test. Thanks again to all for the help.
December 16, 2016 at 12:16 pm
Here is what I tried in our test environment, but I am getting this error:
Login failed for user 'testuser'. (Microsoft SQL Server, Error: 18456)
(I was able to get back in...
December 16, 2016 at 8:31 am
Thank you both very much! That really helps!
December 16, 2016 at 7:16 am
Thank you both for the replies. I will check out that link.
August 17, 2016 at 11:57 am
Thanks to everyone for the replies.
Jeff - You may not have time to do this but would you mind giving your recommendations for both of these areas? Lately I've really...
April 16, 2015 at 5:32 pm
Viewing 15 posts - 31 through 45 (of 105 total)