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 |
|
AsimKhaliq
Yak Posting Veteran
94 Posts |
Posted - 2004-08-12 : 13:54:42
|
| Hiiam running a query from one SqlServer query analyzer and wants to get data from other sqlserver. both server are on network and using windows authentication. can some one help mei guess it would be like thisSelect * from (-sqlserver connection string-).databasename.dbo.tablebut i need sql connection string and if someone has better solutionThnx |
|
|
AsimKhaliq
Yak Posting Veteran
94 Posts |
Posted - 2004-08-12 : 14:22:01
|
| now iam running thisSelect field1, field2 from OPENDATASOURCE('SQLOLEDB','Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=DB1;Data Source=SQL1').DB1.dbo.TableNameBut i have an errorerver: Msg 18456, Level 14, State 1, Line 1Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.can some help me |
 |
|
|
schuhtl
Posting Yak Master
102 Posts |
|
|
AsimKhaliq
Yak Posting Veteran
94 Posts |
Posted - 2004-08-12 : 16:37:45
|
| Thnx I got that thing before, and its working finethnx anyways |
 |
|
|
|
|
|