Viewing 15 posts - 14,206 through 14,220 (of 26,486 total)
What server level permissions are you trying to give your users?
October 26, 2011 at 3:54 pm
When going across databasses, the users have to be given access to the base tables in the other databases. The only way around this is to pull the data...
October 26, 2011 at 3:02 pm
Banana-823045 (10/26/2011)
This will fail in an error:
EXECUTE AS USER = 'dbo';
EXECUTE AS LOGIN = 'proxylogin';
REVERT;
REVERT;
Even though the user 'dbo' is...
October 26, 2011 at 2:58 pm
I'll have to play with this at home. I know where I am working now, they have a procedure dbo.TruncateTable used to truncate a table without giving the developers...
October 26, 2011 at 2:51 pm
From BOL regarding the EXECUTE AS Clause:
By specifying the context in which the module is executed, you can control which user account the Database Engine uses to validate permissions on...
October 26, 2011 at 1:26 pm
Banana-823045 (10/26/2011)
I do not want to grant permissions on server directly to any users but there are some operations that I would like to allow users to perform without...
October 26, 2011 at 1:23 pm
Can you explai what you are looking for in a little more detail? I'm not sure what you are asking about with regard to EXECUTE AS. Are we...
October 26, 2011 at 1:11 pm
Okay, I'm sorry but that was just gross.
October 26, 2011 at 12:48 pm
What are the error messages you are receiving?
October 26, 2011 at 11:55 am
Kiara (10/26/2011)
Stefan Krzywicki (10/25/2011)
SQLRNNR (10/25/2011)
ChrisM@Work (10/25/2011)
Brandie Tarvin (10/25/2011)
ChrisM@Work (10/25/2011)
Brandie Tarvin (10/25/2011)
Got my new smart phone. Setting up my tethering connection now. Thanks for all the help.
A nice pair of ski...
October 26, 2011 at 11:50 am
Duplicate post, please post responses here.
Please do not double post, it will only split possible answers.
October 25, 2011 at 11:30 pm
Just to let you know, if you read and follow the guidelines in the first article I reference below in my signature block, you will get better answers faster. ...
October 24, 2011 at 11:52 pm
CELKO (10/24/2011)
You do not understand that DATE is a temporal data type; there is no converting it....
October 24, 2011 at 11:48 pm
CELKO (10/24/2011)
CREATE TABLE Report_Periods
(report_name VARCHAR(30) NOT NULL PRIMARY KEY,
report_start_date DATE DEFAULT CURRENT_TIMESTAMP...
October 24, 2011 at 11:23 pm
Here is how I would do it:
If run on the last day of the month for the current month:
set @startdate = dateadd(mm, datediff(mm, 0, getdate()), 0);
set @enddate = dateadd(mm, datediff(mm,...
October 24, 2011 at 3:46 pm
Viewing 15 posts - 14,206 through 14,220 (of 26,486 total)