Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Failing JOb using linked server

Author  Topic 

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-13 : 12:12:52
I have an SQl statement of the nature
Insert into linked_server_tblname select * from local_table

I put this in a jon on the local sql server and run it but it fails. When I do it from query Analyzer it works. How may I get it working as a job?

All help appreciated.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-08-13 : 12:28:01
More information please. How was the linked server setup? Does the SQLSERVERAGENT service account have access to the linked server? ...

Tara
Go to Top of Page

rohans
Posting Yak Master

194 Posts

Posted - 2004-08-13 : 12:55:50
Not sure I understand what you are asking about the setup of the linked server.
For the SQLSERVERAGENT, the service account does not have access to the likned server as far as I know. I will give it access from within EM and see where it goes. Well it works,
Thank you.

All help appreciated.
Go to Top of Page
   

- Advertisement -