Hello,
Our application is using Delphi 6 & MS SQL Server 2005. I connect to the database using ODBC. I need to display the SQL Server and the database name on one of the forms. I tried this query, "SELECT @@SERVERNAME SEVERNAME, db_name() DBNAME", using a TQuery component. The query opens fine...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.