Viewing 15 posts - 5,941 through 5,955 (of 13,468 total)
here you go:
CREATE ROLE DatabaseUser
EXEC sp_addrolemember N'db_datareader', N'DatabaseUser'
CREATE ROLE DatabaseDeveloper
EXEC sp_addrolemember N'db_ddladmin', N'DatabaseDeveloper'
EXEC sp_addrolemember N'db_datareader', N'DatabaseDeveloper'
EXEC sp_addrolemember N'db_datawriter', N'DatabaseDeveloper'
February 15, 2012 at 2:27 pm
you need to create a user on the AS400 that has read only permissions.
then when you create the linked server, use that specific user for the remote login.
it is...
February 15, 2012 at 11:14 am
Sanz (2/15/2012)
February 15, 2012 at 10:52 am
i'm pretty sure GRANT VIEW ANY DEFINITION TO LOGIN is a server scope command...it has to be against a login and not a user, and your database has to be...
February 15, 2012 at 10:31 am
is that logic right?
i don't think you need to go to the dmvs, first of all...
second, this pretty much says "if you find any of these conditions, even if it's...
February 14, 2012 at 12:08 pm
sql runs as a service, it's main executable is not double clickable/runable...you go to Control Panel Administrative tools>>Services and see if it is running there or not (you can use...
February 14, 2012 at 9:32 am
lol my shops IT budget doesn't have room for any software that would make my life easier; it pretty much covers absolutely required hardware + licenses.
If i wanted something like...
February 14, 2012 at 9:05 am
looks like a GUI data input tweak;
if you go straight to TSQL, you cannot create a ulogin or user that starts with @
you can create either for a login which...
February 14, 2012 at 8:24 am
this was my first google hit for "Script Login with Permissions to User Databases":
looks like exactly what you want, right?
http://www.sql-server-performance.com/2002/object-permission-scripts/
February 13, 2012 at 10:26 am
I think you need to simply drop the users.
something like this would generate the commands to either fix orphans or drop teh users, would this help?
/*--Results:
DROP USER [GMS];
DROP USER [CCFD01\Jack.Campbell];
*/
SELECT...
February 13, 2012 at 7:44 am
Rob I'm a developer, so the do-it-yourself options for me are much more palatable.
it's very very easy to do it all yourself you can use CLR.
I've got prototype CLR's...
February 13, 2012 at 5:45 am
going back to the questions on the first page...we never got a definitive answer.
did you disable windows firewall and attempt to connect?
what was the results or specific error when you...
February 10, 2012 at 2:44 pm
here's the equivalent SELECT so you can see what would get updated...does it look correct?
SELECT * FROM Profiles
INNER JOIN AllJobCategories j
ON j.Uniqueid = Profiles.id
...
February 10, 2012 at 11:58 am
= (SELECT must return one value per row;
here's what i think is the equivalent , but since the subquery would return more than one industry id per profile, you don't...
February 10, 2012 at 11:44 am
well the aliased table a in your query is sys.database_principals , and that does not have a column named [authentication_type ],
the only dmv i could find with that exact...
February 10, 2012 at 9:07 am
Viewing 15 posts - 5,941 through 5,955 (of 13,468 total)