Viewing 15 posts - 331 through 345 (of 583 total)
I believe this is due to connections being made from a service on the remote server using integrated Auth and the service is running with "Local System" the the user.
July 10, 2012 at 10:25 am
try the sys.columns view. http://msdn.microsoft.com/en-us/library/ms176106.aspx
July 10, 2012 at 8:23 am
possibly powershell would work for you. You can run a powershell step from sql agent.
Something like this should delete all files older than 30 days except except file that...
July 10, 2012 at 8:21 am
Here is a great blog post by Jonathan Kehayias to get you started.
July 4, 2012 at 7:56 am
posted to this thread a while ago.
http://www.sqlservercentral.com/Forums/Topic745531-359-1.aspx
July 3, 2012 at 12:29 pm
this should get you close to what you are looking for.
SELECT
'Select '+
substring((SELECT ( ', ' + name )
...
June 6, 2012 at 3:19 pm
Try Max(http://msdn.microsoft.com/en-us/library/ms187751.aspx) Appointmentdate with group by(http://msdn.microsoft.com/en-us/library/ms177673.aspx) on customerid.
June 1, 2012 at 12:18 pm
look at using a union to get your sum.
create table #tmp (num int)
insert into #tmp
values(105)
go 4
SELECT cast(round(num*.25,0) as int)
FROM #tmp
union all
select cast(SUM(num*.25) as int)
FROM ...
May 30, 2012 at 9:06 am
Thanks for the explanation and point to the blog post.
May 4, 2012 at 10:01 am
Thanks Jonathan.
I just did a quick comparison between the extended events output and the sql trace output and I get a similar number of rows returned. I must just be...
May 3, 2012 at 12:00 pm
maybe this will help http://www.connectionstrings.com/sql-server-2008
I would think they would need to specify "servername,port" in their connection string.
April 13, 2012 at 3:26 pm
the following query (from sqlskills http://www.sqlskills.com/BLOGS/PAUL/post/Script-open-transactions-with-text-and-plans.aspx) will give you all open transactions on server. The "Begin Time" column will be null for transactions that do not have a corresponding log...
April 10, 2012 at 10:36 am
that would depend on the type of security you have defined on the linked server.
If you just ran the statement as is then your security context is set as "Be...
April 5, 2012 at 2:20 pm
this should do it for you
EXEC master.dbo.sp_addlinkedserver @server = N'servername,port', @srvproduct=N'SQL Server'
April 5, 2012 at 7:45 am
Viewing 15 posts - 331 through 345 (of 583 total)