Viewing 10 posts - 1 through 10 (of 10 total)
Chris Harshman
Phil Parkin
Thank's you very much for your answers, I will try to figure it out.
May 24, 2019 at 7:07 am
Maybe someone needed
SELECT Rls.name as RoleMemeber,RlsMembers.name as [User]
INTO #RoleUser
FROM sys.Database_Principals Rls
INNER JOIN sys.database_role_members drm ON Rls.principal_id = drm.role_principal_id
INNER JOIN sys.Database_Principals RlsMembers ON drm.member_principal_id = RlsMembers.principal_id
WHERE Rls.is_fixed_role = 0
AND Rls.type =...
January 19, 2016 at 5:23 am
Thank you very much for your help , I will try to write a query .
Thanks again for your help.
January 19, 2016 at 4:33 am
WOW!!!
Many Many thanks for your answers
For a quick fix I use UNION ALL
November 26, 2013 at 12:40 am
I don't know, why i did double quotes, I find this example in internet, but this script work well and it download resul set in csv file
declare @cmd varchar(8000)
set @cmd=...
November 25, 2013 at 11:04 pm
I do this script and it run succeseful
declare @cmd varchar(8000)
set @cmd= 'bcp "TestDB.dbo.ia_ReportUser" queryout "C:\TEMP1\2255212.csv" -c -t"," -T -S '+@@servername
exec master..xp_cmdshell @cmd
When I run TestDB.dbo.ia_ReportUser in QA
I have a...
November 25, 2013 at 6:04 am
This is stored procedure
[Devel].TestDB.dbo.ia_ReportUser
November 25, 2013 at 5:21 am
thank you!!!
You are right, when I did your scritp, the table compressed.
October 24, 2013 at 11:44 pm
Viewing 10 posts - 1 through 10 (of 10 total)