Viewing 15 posts - 3,376 through 3,390 (of 7,164 total)
I did not have any luck using ADSI:// myself. Only when switching to use LDAP:// did it work although it sounds like you had a few things going on simultaneously....
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 9:13 pm
How is it going?
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 3:58 pm
surma.sql (8/15/2012)
i have question about SQL Server Jobs
I check the job properties and see the username is 'SA'. and i check into steps and there is no user is specify...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 3:52 pm
Suresh B. (8/15/2012)
1) If you run a job manually, it runs using your login.
2) If schedule it, job runs using SQL Server Agent service...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 3:46 pm
Catch it from where? In T-SQL or an app language like C#?
If your supplying a severity level of 10 then it will not trip a T-SQL CATCH block. Your RAISERROR...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 3:14 pm
No need to script them out. You can generate a command like this for each user with the new login for each. Just make sure you supply the NAME option...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 2:24 pm
Does this occur when you first start the server or intermittently after running for a while? The problem is likely related to the storage subsystem temporarily being viewed as offline...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 1:40 pm
Stairway to Data by Joe Celko[/url]
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 1:35 pm
Moving User Databases (SQL Server 2008 R2)
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 1:15 pm
Try it with LDAP instead of ADSI:
Select [Name] ,[DisplayName]
From OpenQuery
( ADSI,'SELECT name, displayname FROM ''LDAP://RHSPWDCOC02''
WHERE objectCategory = ''Person'' AND objectClass = ''user''')
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 1:10 pm
I won't say incorrect because your situation may truly be unique, but personally I think you're approaching this from a very difficult angle, i.e. trying to contort the database server...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 9:55 am
Pablo Campanini-336244 (8/16/2012)
You are absolutely right, I am using SQL Server 2008, not SQL Server 2008 R2, and the bug is killing me!!!!!!.
I will ask my boss to upgrade to...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 9:40 am
Happy you got it sorted. I was curious so I did some looking to see if others had this issue and it looks like it may be a known bug...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 16, 2012 at 9:14 am
Lynn Pettis (8/15/2012)
Flip...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 15, 2012 at 2:58 pm
Pablo Campanini-336244 (8/15/2012)
The command:
CREATE USER abc FROM LOGIN testLOGIN
creates a "database" login, not a SQL Instance login.
Please create also the sql ID at an Instance level.
Then connect to the SQL...
There are no special teachers of virtue, because virtue is taught by the whole community.
--Plato
August 15, 2012 at 2:26 pm
Viewing 15 posts - 3,376 through 3,390 (of 7,164 total)