Viewing 15 posts - 3,601 through 3,615 (of 6,397 total)
But you wanted to list logins which dont have a role assigned to them, which is why they are null.
This query does not list logins which are not assigned any...
October 3, 2012 at 3:52 am
http://www.simple-talk.com/sql/database-administration/gail-shaws-sql-server-howlers/, read the poor index design section for index key column order
October 3, 2012 at 3:42 am
All down to the order the columns are defined in the index, vs how you reference them in the SQL statement
October 3, 2012 at 3:32 am
You wont want the is_disabled flag in the join criteria, you would want it in the select, so that you can see if the login is disabled or not
SELECT
ISNULL(DP.Name, SP.Name)...
October 3, 2012 at 3:16 am
Because SUM returns an INT value, you need to cast the whole SUM command back to VARCHAR, not just the cfh.value/100
October 3, 2012 at 3:06 am
The error is converting Varchar to Numeric, so the only conversion of that type happening which is explicit is
CONVERT(NUMERIC(20,2), ABS(CFH.VALUE)/100) ELSE 0 END)
So you either have values in CFH.value which...
October 3, 2012 at 2:42 am
Execute as caller wont work, you will need to elevate the permissions to an account which has access unless you want to grant the caller the access they need to...
October 3, 2012 at 2:32 am
=FORMAT(Field!DateField.Value "MMMM yy")
How about the above?
October 3, 2012 at 2:12 am
You will need to grant the server role securityadmin, which will allow the user to create logins at the server level and then create users in the database level based...
October 3, 2012 at 2:10 am
use the is_disabled flag on sys.server_principles and then join back to this as well for any missing logins which dont have a user in the DB
October 3, 2012 at 2:07 am
Unless you had custom auditing there is no way to 100% say yes you can find out what happened.
You could try the default trace but depending how busy your sever...
October 3, 2012 at 2:00 am
from your local machine, login as that user, then run a command line tool called SQLCMD passing in the parameters needed along with your create database statement.
October 3, 2012 at 1:37 am
I dont know, never used lookup in SSRS, try it out and see.
October 3, 2012 at 1:23 am
unless you have found a way to link datasets together or have used cross database joining in the data set no.
October 2, 2012 at 8:58 am
Viewing 15 posts - 3,601 through 3,615 (of 6,397 total)