Viewing 15 posts - 16 through 30 (of 79 total)
If the stored procedure and the table it references have the same owner then you dont need explicit permissions for the table. This is called ownership chaining. You can get...
February 8, 2012 at 8:50 am
Checkout this post..
http://www.sqlservercentral.com/Forums/Topic1248558-1550-1.aspx#bm1248596
February 8, 2012 at 8:41 am
February 7, 2012 at 7:56 pm
Can you post the ddl of the two tables. Check out the following link
http://www.sqlservercentral.com/articles/Best+Practices/61537/
February 7, 2012 at 7:29 pm
If you grant execute at the database level you will not see it being set under securables for each object (sp or function), you will only see it set under...
February 7, 2012 at 3:44 pm
Another way to do this would be to create a database role and give it execute access. That way you can assign users to this database role
/* CREATE A NEW...
February 7, 2012 at 3:22 pm
Yes. Navigate to Securables (right click user properties under security node) for the user (not login) and select database.
You will see all the database level securables you can set...
February 7, 2012 at 3:19 pm
use [DBName]
GO
GRANT EXECUTE TO [Domain\user]
GO
This would grant execute access to functions as well as stored prcoedures
February 7, 2012 at 3:10 pm
Is your developer's machine 32 bit or 64 bit machine ?
I am not sure if it makes a difference but remember reading some thing about 32 bit and 64...
February 3, 2012 at 11:02 am
It could be a security issue. When you are executing xp_cmdshell it uses service account's credentials if you are sysadmin or any other windows credentials if proxy is configured.
Whatever account...
February 3, 2012 at 10:51 am
You could probably use Ranking Functions but that does involve CTE, temp table or a table variable.
January 31, 2012 at 12:08 pm
You can use Pivot function to do this..
SELECT [in review] as 'inreview',[with applicant] as 'withapplicant',[cancelled] as 'cancelled'
FROM
(SELECT [status],[name]
FROM temp) AS SourceTable
PIVOT
(
Count([status])
FOR [name] IN ([with...
December 1, 2011 at 11:27 am
The only option I can think if is modifying the id column to not have identity and add a new identity column and then delete the row.
November 18, 2011 at 11:04 am
Try this.. restore database DBName with recovery
November 17, 2011 at 12:48 pm
You can try to convert your timestamp field to MM/DD/YYYY field and then compare
Example is Convert(date,CURRENT_TIMESTAMP,101) or Convert(varchar,CURRENT_TIMESTAMP,101)
November 17, 2011 at 12:04 pm
Viewing 15 posts - 16 through 30 (of 79 total)