BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sybase SQL Srvr Properties

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Stacy
Guest





PostPosted: Thu Apr 28, 2005 8:10 pm    Post subject: Sybase SQL Srvr Properties Reply with quote



Hello,

Does anyone know how to retrieve the database name (not the ODBC dsn
name, but the name of the actual database on the server) or owner name from
my current connection with Sybase SQL Server. I am connecting through the
ODBC.

Thanks in advance for the help.

Stacy


Back to top
klint gore
Guest





PostPosted: Mon May 02, 2005 5:36 am    Post subject: Re: Sybase SQL Srvr Properties Reply with quote




"Stacy" <sdudas (AT) lynchval (DOT) com> wrote:
Quote:
Does anyone know how to retrieve the database name (not the ODBC dsn
name, but the name of the actual database on the server) or owner name from
my current connection with Sybase SQL Server. I am connecting through the
ODBC.

select db_name()

klint.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.