Viewing 15 posts - 1 through 15 (of 187 total)
I am guessing you are just trying to import the Datasource for AdventureWorksDW into an SSAS project, so here is one of the MSDN tutorials that walks you through how...
February 2, 2012 at 8:27 am
I doubt that this is related but it sounds similar enough that I figure I may as well share. We had an issue where the statistics were out of...
February 1, 2012 at 1:57 pm
I do something very similar but slightly different where I build a comma separated string for the filenames before doing the ReceiveFiles command. I did not come up with...
February 7, 2011 at 7:46 am
I believe you are very close here you just need to save the changes (so to speak).
I think this will get it for you.
[System.Reflection.Assembly]::LoadWithPartialName(’Microsoft.SqlServer.SMO’) | Out-Null
$smo = New-Object (’Microsoft.SqlServer.Management.Smo.Server’) "Server\Instance"
$jobstodisable=...
February 3, 2011 at 3:43 pm
I can see the value in having a sysmoddate and a sysadddate however, I think in most cases having an auto-incrementing id is probably still a good thing if for...
January 31, 2011 at 3:44 pm
We actually had a situation very similar to this where we would receive different results based on the MAXDOP being greater than 1. It also turned out that...
January 31, 2011 at 12:26 pm
In this case I am not passing in the credentials (note that I am using a trusted connection). But you can, here is the help file information that shows...
January 28, 2011 at 6:39 am
If I am understanding your request correctly, if you were running this from server AB you would run something like
update b
set b.id = a.key
from dbnamea.dbo.b b
join OPENROWSET('SQLNCLI', 'Server=servercd;Trusted_Connection=yes;', 'SELECT...
January 27, 2011 at 1:18 pm
select * from master.sys.servers where is_linked = 1
will give you a list of the linked servers currently on your server.
January 27, 2011 at 12:46 pm
Using SQLCLR would be a situation where you would have some .Net code that created a connection that you could dynamically pass into a function or proc that would make...
January 27, 2011 at 12:35 pm
Note, that when you do this you do have to prefix the proc with "sp_". Here is a good article to describe that.
January 27, 2011 at 12:14 pm
It occurs to me that your issue may be as simple as just making your proc a system object (so that it can run under any context without problem).
You should...
January 27, 2011 at 12:13 pm
I see what you mean. The problem here is not how you are calling the proc (it is most assuredly running against every database), the problem is that there...
January 27, 2011 at 10:29 am
Name the SearchAllTables proc sp_SearchAllTables, load it into the master database and then run
exec sp_msforeachdb 'use ? exec sp_SearchAllTables ''searchstringhere'''
That should run it against each of the databases on your...
January 27, 2011 at 9:08 am
Within the Job Properties you can change the Step Type to SQL Server Integration Services Package and you can select your package that is stored in MSDB that way. ...
January 27, 2011 at 8:52 am
Viewing 15 posts - 1 through 15 (of 187 total)