Viewing 15 posts - 2,191 through 2,205 (of 7,191 total)
HBollah (11/16/2016)
I haven't configured the advanced part for the full output, but generally access denied is access denied 🙂
Mmmm... that's about as helpful as the government saying "Brexit means Brexit"!...
November 16, 2016 at 5:12 am
"Access is denied" sounds like an operating system error. Maybe you're trying to copy files to a location you (ie the SQL Server Agent or proxy account) don't have access...
November 16, 2016 at 4:47 am
I don't think you can do it with sp_who out of the box. What you can do is look at the definition for sp_who and create a new stored...
November 16, 2016 at 2:20 am
I think it would be quite a complicated solution in T-SQL, so much so that you may consider using a different language, but if you want to do it, here...
November 15, 2016 at 2:17 am
There are three roles in msdb, called something like SQLAgentUser, SQLAgentOperator and SQLAgentSomethingElse. Each gives a different level of permissions to a user to do things with jobs. ...
November 14, 2016 at 9:33 am
Yes, although I assume this is a one-off and therefore performance might not be too important. Also, using EXISTS might not meet the requirement. Since we know that...
November 14, 2016 at 4:56 am
Oh, I see, yes - having my ANDs and ORs in a muddle caused XML columns to be included. Good spot!
John
November 14, 2016 at 4:39 am
Eirikur Eiriksson (11/14/2016)
John Mitchell-245523 (11/14/2016)
November 14, 2016 at 4:24 am
OK, this query will look at all columns with data length of 15 or more and show the number of values with the requested pattern. Beware that the INFORMATION_SCHEMA...
November 14, 2016 at 3:12 am
Nicole
Those aren't properties of the column: they're properties of the individual values in the columns. Are you saying that you want to find all columns that have at least...
November 14, 2016 at 2:17 am
I'm not sure what you mean by ON DUPLICATE - I don't think it's a T-SQL keyword. You'll need either a MERGE statement, or to do separate INSERT and...
November 11, 2016 at 9:59 am
No, you still don't need a loop. Put your list of tables in a temp table and join that to the results of one of the queries that you...
November 11, 2016 at 8:41 am
Eirikur Eiriksson (11/11/2016)
ramana3327 (11/11/2016)
I am sure, I was not logged as sa.Then your login is a member of the sysadmin role
😎
Interesting. I'm a sysadmin and I just restored a...
November 11, 2016 at 8:37 am
You don't need a loop to get table sizes. Just type "table size query" into your favourite search engine and you'll get plenty of pointers to what to do....
November 11, 2016 at 8:24 am
Like I said, the only way I know of doing it is to change the database owner separately. If you did it before and the owner was sa, could...
November 11, 2016 at 8:16 am
Viewing 15 posts - 2,191 through 2,205 (of 7,191 total)