Progress
SQL-92
Guide and Reference


DB_NAME Function

Returns the name of the database corresponding to the current connection name. It provides compatibility with the Sybase SQL Server function db_name.

SYNTAX

DB_NAME ( ) 

EXAMPLE

This example illustrates the DB_NAME function:

SELECT DB_NAME() FROM T2;
 
DB_NAME              
-------               
demo              
 
1 record selected 

COMPATIBILITY

Progress Extension


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095