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.
| Author |
Topic |
|
mvanwyk
Yak Posting Veteran
99 Posts |
Posted - 2007-12-03 : 06:58:10
|
| Hi GuysCan someone please assist me in writing a SQL QUERY.What i have is the followingA Server Called THORSQL Instance. @ localhostSQL Instance. @ THOR\OfficeServersNow SAP B1 Is installed in the 1st and Projects and Sharepoint in the 2ndNow in SAP im trying to execute the followingselect PROJ_NAME from [THOR\OfficeServers].[PWA_Published_96A2FDAC_0A9D_4B90_902D_AF0B5FB541BB].[dbo].MSP_PROJECTSThis works 100% in SQL Management Studio...But in SAP B1 i get the following error.login failed for user sa the user is not Associated with a trusted SQL Server ConnectionCan someone please assist me with this.Thanks |
|
|
RickD
Slow But Sure Yak Herding Master
3608 Posts |
Posted - 2007-12-03 : 07:05:47
|
| You do not have sa rights to the SAP instance. If you are the DBA grant yourself rights(assuming this table exists on the instance. If you are trying to access the second instance from the first instance, you will need to create a linked server, look up sp_addlinkedserver in BOL (Books Online). |
 |
|
|
|
|
|