Viewing 15 posts - 421 through 435 (of 1,219 total)
xp_cmdshell does not generate any text file in itself, but you run something from xp_cmdshell that generates a text file.
You could just as well as run the same thing from...
September 20, 2014 at 2:30 am
It seems like you want to create a user that should only see the databases on the server it has access to. This is unfortunately not possible. You can make...
September 15, 2014 at 1:58 am
So what does this team need to do, which is not covered by db_securityadmin and db_accessadmin? Without this information, your question is somewhat difficult to answer.
I note in Books Online...
August 21, 2014 at 12:01 pm
They are all coming on the port on which SQL Server is listening on. You can see this in the SQL Server Configuration Manager or in the beginning of the...
August 18, 2014 at 3:22 pm
TomThomson (8/17/2014)
Erikur's advice is all good.
Erikur?
August 17, 2014 at 1:18 pm
If SQL Server is only serving the web server, it's simple: make sure that only ports 80 and 443 are open in the firewall. And particularly, make sure that the...
August 17, 2014 at 11:05 am
You should be concerned, and you should not expose you SQL Server instance on the internet. As long as it is, you should keep the sa account disabled. Renaming it,...
August 17, 2014 at 10:43 am
So there is something you are not telling us. Here is a script that you can play with, that shows how it works with DB_CHAINING. (Note that you don't need...
August 11, 2014 at 2:07 pm
For DB_CHAINING to work the two databases must have the same owner.
For TRUSTWORTHY to work, the databases must either have the same owner, or the owner of the database where...
August 11, 2014 at 1:30 pm
Andrew Kernodle (8/5/2014)Unfortunately, I'm not quite sure how to prohibit him from doing this. I've revoked the sysadmin role on his login (he doesn't need that much access anyhow),...
August 5, 2014 at 12:23 pm
Add the user to db_datareader, and grant the user VIEW DEFINITION on database level:
GRANT VIEW DEFINITION TO nisse
Note that this gives the user right to see any definition in the...
August 4, 2014 at 12:50 pm
Eirikur Eiriksson (8/2/2014)
Quick thought, transactional behaviour does not alter the SEQUENCE but it can muffle IDENTITY entries, leaving gaps.😎
No, sequences and IDENTITY behave the same in this regard:
CREATE SEQUENCE MySeq...
August 2, 2014 at 2:50 pm
Jeff Moden (8/2/2014)
August 2, 2014 at 2:43 pm
Jeff Moden (8/2/2014)
August 2, 2014 at 10:26 am
Evil Kraig F (8/1/2014)
You're in SQL 2014, and want to select an INT. Have you looked at SEQUENCE? It does exactly that.
Beware that sequence can give you gaps....
August 1, 2014 at 3:25 pm
Viewing 15 posts - 421 through 435 (of 1,219 total)