Re: logged in user can't see tables
From: pablo (a@b.com)
Date: 08/31/02
- Next message: pablo: "Re: logged in user can't see tables"
- Previous message: Michael Vardinghus: "Re: New database user / denying access / view / odbc"
- In reply to: John Bell: "Re: logged in user can't see tables"
- Next in thread: pablo: "Re: logged in user can't see tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "pablo" <a@b.com> Date: Sat, 31 Aug 2002 20:34:50 GMT
Interestingly enough, after a bunch of searching, I found this exchange on a
web site started by a guy haveing the same problem. The solution, change
the owner to dbo for all the tables is not optimal for me.
http://www.sqlmag.com/Forums/messageview.cfm?catid=3&threadid=7107
-Paul
"John Bell" <jrm_bell@hotmail.com> wrote in message
news:sav0nug92m2psme0cosv0fnsn7nrf36rlg@4ax.com...
> You don't say what the error messages are!
>
> Are you connecting to the correct database?
>
> What permissions does the user has on the tables?
>
>
> John
>
> On Sat, 31 Aug 2002 04:34:09 GMT, "pablo" <a@b.com> wrote:
>
> >When I connect to my SQL 2000 database through a DSN in my .asp page
using
> >SQL authentication, I cannot see my tables without first prefixing them
with
> >the owner name. For example, my DSN is set to authenticate with a SQL
> >id/pass:
> >
> >DSN=mydsn;UID=owner;pwd=xxx
> >
> >when I try and select on a table owned by owner
> >
> >SELECT * FROM employees
> >
> >fails, and
> >
> >SELECT * FROM owner.employees
> >
> >works.
> >
> >I tried the DSN without the UID and PWD, and the login fails, so I am
sure I
> >am loggin in correctly.
> >
> >I would like not to have to specifiy the owner prefix. Any ideas?
> >
> >
>
>
- Next message: pablo: "Re: logged in user can't see tables"
- Previous message: Michael Vardinghus: "Re: New database user / denying access / view / odbc"
- In reply to: John Bell: "Re: logged in user can't see tables"
- Next in thread: pablo: "Re: logged in user can't see tables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|