[CDBI] I need to specify the db owner as dbo..table_name

Berg, Eric eric.berg at lehman.com
Fri Feb 15 01:28:40 GMT 2008

I thought of that, but hadn't tried it.  When I did, it worked in
general, a in it did pass the entire string right through to the db.
That was cool.

Unfortunately, sp_columns which is called by cdbi::Sybase can't handle
that.  We could move away from the Sybase automatic setup stuff, but
we're not at this point.

We're thinking it may be something else at this point, however.

In an case, now we know.

Thanks, Michael.


-----Original Message-----
From: Michael G Schwern [mailto:schwern at pobox.com] 
Sent: Thursday, February 14, 2008 5:23 PM
To: Berg, Eric
Cc: classdbi at svr02.digitalcraftsmen.net
Subject: Re: [CDBI] I need to specify the db owner as dbo..table_name

Berg, Eric wrote:
> I'm having some issues with queries against a Sybase cluster, and am 
> told by my DBAs that I need to specify not only the table name, but 
> the owner using the folloiwing syntax:
>    owner..table_name
> Is this possible? 

Try it?


CDBI doesn't do much with the table name other than stick it into the
query so it should work.

24. Must not tell any officer that I am smarter than they are,
     if it's true.
     -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.

IRS Circular 230 Disclosure:
Please be advised that any discussion of U.S. tax matters contained within this communication (including any attachments) is not intended or written to be used and cannot be used for the purpose of (i) avoiding U.S. tax related penalties or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein.

More information about the ClassDBI mailing list