Hi Spiceheads, I have an SQL question for you... I am not very good with management studio so please bear with me.
I need to generate a user report from our HR system; it has a report builder which unfortunately cannot give me the 'username' attribute for each user. (I can export all other other data). This is stored in a 'system' table which the report builder cannot access.
This makes it very hard to automate user data imports into AD which would allow us to easily share data across the organisation.
I can see the data I need in the SQL database for the system - together it is stored in two different tables
Most of the useful user info is stored in dbo.PEOPLE
The USERID is stored in dbo.OC_USERS
there is a common attribute:
dbo.PEOPLE PEOPLE_ID Z013532A-74B3-43BB-A2AD
dbo.OC_USERS ASSOCIATEDRECORDID Z013532A-74B3-43AD
I guess this involves a...