dbTalk Databases Forums  

Unable to query tables using iSQL client. Please help

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Unable to query tables using iSQL client. Please help in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
;lkj
 
Posts: n/a

Default Unable to query tables using iSQL client. Please help - 03-19-2010 , 01:56 PM






Hello,

I'm having a lot of difficulty querying a database. So a little
background first. I setup an ODBC connection to the database using the
default guest login that allows read-only access. I can see the
tables, column names, and even the data just fine in the Sybase
Central client.

However when I run a simple select statement in the iSQL client:

select id from action_log

I get the error message:

Table 'action_log' not found
SQLCODE=-141, ODBC 3 State="42S02"

Keep in mind that I can view the same tables and column names (but not
data) in the iSQL client. Any idea what the issue is here? I've tried
other querying other tables but the results are the same. If it makes
any difference, the DB I'm connecting to is used for the Veritas
Backup Report tool. It's a Symantec product and all the credentials
and connection information was provided by the admin guide.

Thanks,
Carter

Reply With Quote
  #2  
Old   
tduemesnil
 
Posts: n/a

Default Re: Unable to query tables using iSQL client. Please help - 03-22-2010 , 01:53 PM






probably you have to prefix the owner of the table.

select * from <owner>.<table>

HTH

Reply With Quote
  #3  
Old   
;lkj
 
Posts: n/a

Default Re: Unable to query tables using iSQL client. Please help - 03-23-2010 , 04:55 PM



On Mar 22, 12:53*pm, tduemesnil <tduemes... (AT) googlemail (DOT) com> wrote:
Quote:
probably you have to prefix the owner of the table.

select * from <owner>.<table

HTH
BINGO. thanks a LOT.

Reply With Quote
  #4  
Old   
;lkj
 
Posts: n/a

Default Re: Unable to query tables using iSQL client. Please help - 03-23-2010 , 05:00 PM



On Mar 22, 12:53*pm, tduemesnil <tduemes... (AT) googlemail (DOT) com> wrote:
Quote:
probably you have to prefix the owner of the table.

select * from <owner>.<table

HTH
BINGO. thanks a LOT.

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.