Viewing 15 posts - 91 through 105 (of 135 total)
GRANT BULK INSERT ON [TEMPDB] TO [User]
would work wouldnt it? .. granted I don't know enough about tempdb to know how destructive something like this could be 😉
May 7, 2019 at 6:41 pm
While I don't know the answer to your question specifically.. a word of caution.. if you're not on SQL Server 2016 CU7 or SP1 CU4 .. compression + encryption can...
May 7, 2019 at 6:38 pm
It just depends on the nature of the table.. if I can avoid deleting data I prefer to do it another way, whether that is checking if the table already...
May 7, 2019 at 4:20 pm
.. or using
I hate using truncate/deletes.. granted .. not sure if your account/service account will have access to sys tables
IF NOT EXISTS (SELECT name FROM database.sys.tables where...
May 3, 2019 at 7:20 pm
The issue here though didnt actually end up being the quoting, although I did ultimately end up quoting everything.. its that with powershell robocopy you apparently cant end folder desitnations...
May 2, 2019 at 5:15 pm
welp.. nevermind.. finally found a forum post that helped.. apparently powershell robocopy doesn't like you to end your folder paths with a \ .. moved this and quoted everything.. worked...
May 1, 2019 at 4:56 pm
just to notate this too.. I tried using commas in my final attempt to try to get this to separate ..it didnt work obviously... I did not have the commas...
May 1, 2019 at 4:45 pm
There is also the Accidental DBA series that is pretty solid on SQLSKills
April 30, 2019 at 3:37 pm
Looks to me that either your database log file has somehow been deleted or your database no longer have access to it... which wouldnt make any sense.. If I remember...
April 29, 2019 at 10:05 pm
I am rather new to SQL myself, but I feel differently. If you're just starting out, don't already have a job that allows you to work with SQL I feel...
April 26, 2019 at 10:00 pm
Good call, Thanks
April 26, 2019 at 8:42 pm
This might be network related, when you ping the alias does it come back with the proper IP address?
April 24, 2019 at 10:05 pm
Still learning SQL stuff here, what is the problem with turning ansi nulls off.. I see it in a ton of SPs?
April 24, 2019 at 10:03 pm
For sure, it sucks when stuff like this happens but a good boss will be understanding and happy that you owned up to the mistake and let them know about...
April 24, 2019 at 10:02 pm
Quite a few people use Ola Hallengrens solution for this, if you google that name it will come right up.. just schedule the job to run during your maintenance window...
April 24, 2019 at 9:54 pm
Viewing 15 posts - 91 through 105 (of 135 total)