Viewing 15 posts - 1,201 through 1,215 (of 2,636 total)
Single_user access is not the same as restricted_access. As Gail said, restricted_access allows only members of the db_owner sysadmin roles to connect to the database. Single_user allows only...
February 13, 2008 at 3:09 pm
Fixed database roles are always created when a database is created so you shouldn't have to script them. If you mean you want to script the members of the...
February 13, 2008 at 2:47 pm
I've never heard of a database spontaneously change recovery models. I'd say that either the database is being restored from a backup made when the recovery model was simple...
February 13, 2008 at 2:13 pm
There's no "cross reference" for packages and jobs. You can't tell what executes a package by looking at the package itself, so you'll have to look at the jobs....
February 13, 2008 at 2:03 pm
A task failure indicates an error. 0 rows selected in a Transform Data task isn't an error, so the task would succeed.
As JDixon said, the Data Transformation...
February 13, 2008 at 10:28 am
I can think of a couple of ways to approach this. The first way is to look at the creation date and time of the package logs and compare...
February 13, 2008 at 10:18 am
Sure. Add the Windows logins to a Windows group, add the group as a login in SQL Server, grant the login access to the databases that need testing, and...
February 13, 2008 at 9:58 am
Afraid not. SQL Server only knows the account that is used to connect to the instance. You'd need something in the application that would report the network login...
February 13, 2008 at 9:51 am
Is it a user database or a system database? What was the recovery model when the database was created?
February 8, 2008 at 10:22 am
Add DB_NAME() to the SELECT list like this:
EXEC sp_MSforeachdb 'USE [?];
SELECT DB_NAME(), * FROM sysusers;'
February 7, 2008 at 10:37 am
I'm pretty sure there's no way to figure out who did it this time, but you could run a trace or create a DDL trigger to be alerted to future...
February 6, 2008 at 3:19 pm
February 6, 2008 at 2:50 pm
As far as I know, there isn't a way to script out a maintenance plan. They're SSIS packages, so you might be able to copy the package to a...
February 6, 2008 at 2:33 pm
Adam,
Are you asking if you can copy data between databases as easily with T-SQL in a stored procedure as with a DTS package? If so, I'd say "yes" if...
February 6, 2008 at 9:54 am
select o.name, a.name as child, b.name as parent, cc.name as childcol, pc.name as parentcol
from sysobjects o inner join sysforeignkeys f
on f.constid = o.id
inner join sysobjects a on...
February 6, 2008 at 9:26 am
Viewing 15 posts - 1,201 through 1,215 (of 2,636 total)