Viewing 15 posts - 991 through 1,005 (of 1,109 total)
Kyle,
if the stored procedures are in the database the database level permission EXECUTE should do the trick.
DENY EXECUTE TO PUBLIC
In case it has permissions to execute any stored procedures that...
August 31, 2007 at 1:50 am
You may be able to achieve a single row result with a case statement too. If you post your problem with a bit more details it will make it easier...
August 31, 2007 at 1:30 am
This is for the crash reporting utility of Microsoft. It is called "Watson" if I remember it right.
Regards,
Andras
August 30, 2007 at 10:12 am
Hi Kyle,
Cross-Database Ownership chaining is relevant to SQL Server 2000.
I'm not sure how you could query it in your scripts on 2000 though. You can find out if it is...
August 30, 2007 at 7:07 am
on http://vyaskn.tripod.com/passing_arrays_to_stored_procedures.htm there is a comprehensive article that describes the various ways to pass lists to stored procedures.
Regards,
Andras
August 30, 2007 at 5:57 am
DECLARE @managerIDs TABLE ( managerID INT )
DECLARE @managerEmps TABLE
( managerID INT
, empID INT
)
INSERT INTO @managerIDs
VALUES (...
August 30, 2007 at 2:58 am
Do you have a newline after the last line of your datafile? If so, remove it.
Regards,
Andras
August 30, 2007 at 2:03 am
Hi Kyle,
you can get this from
SELECT value_in_use FROM sys.configurations WHERE name='cross db ownership chaining'
Regards,
Andras
August 30, 2007 at 1:44 am
You can create a stored procedure with "execute as 'dbo'" like:
CREATE PROCEDURE foo2 WITH EXECUTE AS 'dbo' AS SELECT * ...
August 30, 2007 at 1:41 am
Have you installed the Debugging Components on the remote server.?
http://msdn2.microsoft.com/en-us/library/s0fk6z6e(VS.80).aspx
Regards,
Andras
August 29, 2007 at 9:28 am
On SQL Server 2000 use:
select * from syslogins
select * from sysusers
Note that the password policy is not relevant to 2000.
Regards,
Andras
August 29, 2007 at 9:23 am
for the SQL Server you need:
sp_dropserver 'OldServerName'
GO
sp_addserver 'NewServerName','local'
GO
Andras
August 29, 2007 at 8:26 am
I do not think that you can create four database users in the same database for the same login.
Regards,
Andras
August 29, 2007 at 8:20 am
select * from sys.database_principals
select * from sys.sql_logins
Regards,
Andras
August 29, 2007 at 8:16 am
You can publish your SQL Server and its databases in an active directory. This is not required, and is useful primarily if you write applications that pick a database dynamically...
August 29, 2007 at 6:54 am
Viewing 15 posts - 991 through 1,005 (of 1,109 total)