dbTalk Databases Forums  

DSQUERY questions

comp.databases.sybase comp.databases.sybase


Discuss DSQUERY questions in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Gagné
 
Posts: n/a

Default DSQUERY questions - 04-15-2004 , 04:21 PM






Is there anyway to specify both the server /and/ database name in a
DSQUERY string and have the libraries connect you /and/ put you in the
right database?

--
..tom
remove email address' dashes for replies
opensource middleware at <http://isectd.sourceforge.net>
<http://gagne.homedns.org/~tgagne/>

Reply With Quote
  #2  
Old   
Michael Peppler
 
Posts: n/a

Default Re: DSQUERY questions - 04-15-2004 , 07:27 PM






On Thu, 15 Apr 2004 17:21:27 -0400, Thomas Gagné wrote:

Quote:
Is there anyway to specify both the server /and/ database name in a
DSQUERY string and have the libraries connect you /and/ put you in the
right database?
No. The only way to get a particular database at login is to set the
default database for the login (or execute the "use ..." command, of
course).

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler (AT) peppler (DOT) org http://www.peppler.org/
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.peppler.org/resume.html



Reply With Quote
  #3  
Old   
Thomas Gagné
 
Posts: n/a

Default Re: DSQUERY questions - 04-15-2004 , 08:24 PM



Michael Peppler wrote:

Quote:
No. The only way to get a particular database at login is to set the
default database for the login (or execute the "use ..." command, of
course).



I was afraid of that.

--
..tom
remove email address' dashes for replies
opensource middleware at <http://isectd.sourceforge.net>
<http://gagne.homedns.org/~tgagne/>


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.