Test Database Connection SQL Query

 

Oracle

SELECT sysdate FROM DUAL;

DB2

SELECT CURRENT DATE FROM SYSIBM.SYSDUMMY1;

SQL Server

SELECT GETDATE() AS [CurrentDateTime];

Test with UDL File

* Create an empty file with extension type of .udl
* Double click UDL file
* Enter SQL server connection info

This entry was posted in db and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.