Viewing 15 posts - 166 through 180 (of 583 total)
yeah this is purely to test the backups and I only ever had issues previously restoring master from 2000 to a higher version (error: here is already an object named...
May 8, 2014 at 12:22 pm
Taking full backups do not interrupt the log chain so you can backup the primary databases with affecting log shipping. You should be regularly backing your primary databases anyway. Your...
May 8, 2014 at 12:15 pm
the procedures are in a schema.(http://technet.microsoft.com/en-us/library/ms190387(v=sql.105).aspx) If you do not specify schema, all your objects (tables, views, procs, triggers, functions, etc) will be in the default schema of the user...
May 6, 2014 at 8:40 am
You could grant execute on the schema that the procs are in.
GRANT EXECUTE ON SCHEMA :: schemaName TO username;
May 6, 2014 at 7:56 am
Thank you both for your suggestions.
Luis, The pattern splitter is going to be very useful for me, thanks for introducing me to it, but in this case I dont...
May 5, 2014 at 9:01 am
the sys.database_permissions catalog view will give you which permissions are granted. join to the sys.database_principals to filter by role name.
SELECT ob.type_desc, dp.permission_name, dp.state_desc,ObjectName = OBJECT_NAME(major_id),...
April 25, 2014 at 3:22 pm
hoseam (4/23/2014)
SET @SQLStatement = REPLACE(@SQLStatement,'(,','('); -- remove first comma
I don't think I will be able to list...
April 23, 2014 at 7:39 am
Use a column list in your select statement instead of select *, that way you can just exclude the ID column. Your @sqlstatement to create the table is also incorrect....
April 22, 2014 at 9:49 am
spaghettidba (4/18/2014)
If you want to control under which account the collection set runs, you can set up a proxy account.
Because your sql agent account is local system on the...
April 18, 2014 at 5:50 am
you dont need to have the same AD account running sql agent. What you will need is to grant permission to the SQL Agent service account on your remote server...
April 17, 2014 at 2:20 pm
what error are the sql agent jobs showing?
The most probable issue is the service account that sql agent is running under does not have access to write the the...
April 17, 2014 at 1:48 pm
My first question would be are you sure your remote data collection is loading your MDW correctly.
what is the status of the agent jobs on your remote(not the one...
April 17, 2014 at 1:03 pm
you have to change the order of your substrings to end up with the format yyyymmdd.
declare @date varchar(20)
set @date = '140416'
select CAST(('20' + LEFT(@date,2) + SUBSTRING(@date, 3, 2)+SUBSTRING(@date,5,2) ...
April 16, 2014 at 12:32 pm
check this article
http://msdn.microsoft.com/en-us/library/cc646024(v=sql.110).aspx
April 7, 2014 at 8:32 am
Without DDL and sample data it makes it difficult to give a good answer. (see link in my signature)
based on what you have provided you could create a CTE for...
April 1, 2014 at 12:20 pm
Viewing 15 posts - 166 through 180 (of 583 total)