Re: FreeBCP to SQL Azure complains table is missing?

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Tue, 20 Nov 2012 21:04:39 -0600
Cade Roux <[email protected]> wrote:

> I expect that workaround will not work because USE isn't supported -
> you do in fact have to connect directly to the database, because of
> the nature of the SQL Azure architecture.

Yes, you're right. I forgot about that.  

About a year ago we added the DBSETLDBNAME macro as a way to set the
dbname in the db-lib LOGINREC.  That sets the dbname in the login
packet, obviating the need for "USE dbname".  freebcp could be modified
to support that feature with a -D option.  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.