[freetds] FreeBCP to SQL Azure complains table is missing?

James K. Lowden jklowden at freetds.org
Tue Nov 20 23:03:31 EST 2012


On Tue, 20 Nov 2012 21:04:39 -0600
Cade Roux <cade at roux.org> 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


More information about the FreeTDS mailing list