Viewing 15 posts - 2,146 through 2,160 (of 2,651 total)
I do think you took the wrong approach there unless you didn't tell us of further steps that would normally be required.
But by your list of steps I...
November 18, 2018 at 8:11 am
the .net version of SQL Server has nothing to do with what your code does. Unless its a CLR, and even that I think it will still allow it.
November 17, 2018 at 6:58 pm
by the error you posted it seems you tried to use a format that is not possible
Create failed for Login '.\TestAccount'.
drop that .\ and it will work
November 17, 2018 at 1:42 pm
in my shop I try to implement and force the use of synonyms. pitty I can't force them to do it (not being a production DBA), but do try my...
November 17, 2018 at 1:39 pm
good to see possibilities 😀 and I didn't knew about it either!!!
November 17, 2018 at 1:26 pm
powershell definitely an option - and possibly plenty of examples on net to do it.
this may also be an option https://blogs.msdn.microsoft.com/markm/2015/06/30/easily-backup-sql-databases-to-azure/
November 16, 2018 at 6:14 pm
see if this applies https://support.microsoft.com/en-ie/help/3041857/code-0x80070057-the-parameter-is-incorrect-error-when-you-try-to-displ
November 16, 2018 at 12:16 pm
use the try catch block.
after the try catch do another bulk insert this time of the error file - if any record is loaded you had errors on the...
November 16, 2018 at 12:07 pm
load the file onto a table with a single column (varchar(max) - or whatever size is enough to hold a single record)
and then do parsing and validation in t-sql...
November 16, 2018 at 11:15 am
first I wonder if the syntax is correct
EXECUTE AS LOGIN='[domain]\';
possibly should be
EXECUTE AS LOGIN='[domain\user]'; -- brackets around all of the domain\user, not around both domain and user
November 15, 2018 at 5:51 pm
you need to go and read the manuals in more detail - and google as there are plenty of good examples.
This is a beginners question.
... a...
November 15, 2018 at 3:04 pm
and you should really forget that those 2 options exist - pure evil.
If you have locking issues look into the possibility of enabling READ_COMMITTED_SNAPSHOT your database.
Depending on your...
November 14, 2018 at 6:19 pm
I fail to see where the SQL Job belongs on your VBA process.
From VBA you can call the proc directly passing whatever parameters you wish.
from what you...
November 13, 2018 at 12:13 pm
unless you are using a evaluation version then you won't have it.
otherwise the SQL Server license does not expire.
If you have SA this does expire if...
November 12, 2018 at 2:39 am
Viewing 15 posts - 2,146 through 2,160 (of 2,651 total)