Viewing 15 posts - 166 through 180 (of 187 total)
To test this out, I create a job 'AddUser' which just contained the code sp_addlogin 'test'.
Not sure whether it is possible to use SQL-DMO in Access 97 so I tried...
July 2, 2003 at 9:26 am
Thanks for the replies so far.
I don't want to give access to all security, only execute access to procedures within a single database plus anything else they need to get...
July 2, 2003 at 6:06 am
Andy, sorry my terminology was confusing. When I referred to users, I really meant the individuals who will use the database.
Currently I store all individuals in a table: Id, name,...
June 30, 2003 at 4:52 am
These are actually SQL Server logins, I found that NT logins work to slowly on our WAN.
Regarding your second suggestion, if the user adds a user id to a table,...
June 29, 2003 at 11:08 am
I spoke to soon.
Within Access the procedure does not work because the user is not a member of 'the sysadmin and securityadmin fixed server roles'
Is there a workaround. I am...
June 27, 2003 at 8:21 am
Silly question - it was all much simpler than I thought:
--Add a user
DECLARE @Result int
EXEC @Result = sp_addlogin 'test1', 'test'
EXEC @Result = sp_grantdbaccess 'test1'
EXEC @Result = sp_addrolemember 'kbuser', 'test1'
--Delete a...
June 27, 2003 at 4:36 am
Just to make sure I understand, Frank says "I've never had orphaned logins". Does this mean the logins transfer OK if the SID does not already exist on the...
June 27, 2003 at 3:17 am
quote:
Code should work about the same.
I was thinking more about how I would need...
June 27, 2003 at 3:08 am
Excellent, now all I need to work out is how I can use these examples within stored procedures together with error checking so that I can manipulate logins and role...
June 26, 2003 at 10:19 am
Does this mean that if I use the DTS wizard to export from a source database to a destination database on a new server, and select the "copy objects &...
June 26, 2003 at 4:56 am
Many thanks for the replies.
I am a bit new to SQL Server so excuse the dumb questions.
Tried shamshad solution which did the trick. Just a case of running for...
June 23, 2003 at 7:55 am
Andy, thanks.
I suspect that I might end up moving a zipped file and then using DTS but I guess might go down the zipped file route. I was hoping...
January 22, 2003 at 6:35 am
Thanks for this suggestion, and I may end up trying this in the longer term.
In the shorter term however, the Access program with the data to be uploaded is running...
January 21, 2003 at 2:30 am
OK a little clearer but still a bit muddy.
When Access opens it is using ODBC. Looks like each SPID number has a login and loginout depending on activity and there...
November 22, 2002 at 3:15 am
Viewing 15 posts - 166 through 180 (of 187 total)