If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > setting owner for linked server?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-25-04, 14:33
bgenereaux bgenereaux is offline
Registered User
 
Join Date: Oct 2004
Posts: 1
setting owner for linked server?

Is it possible to use the MS SQLServer linked server function to a Pervasive database with an "owner" set?

Everytime I attempt to use openquery, I get a message that says "error 51 - invalid owner".

I know I can use the "set owner" command and then I can get the queries to work, but this also doesn't work using openquery. The error I get there is something like "MSADSQL detects that this query returns nothing". The command I use there is:
select * from openquery (MYLINKEDSERVER, 'set owner = ''banana''; select * from linked_table')

Any thoughts?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On