Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Carlos Wu
Added: Mar 6, 2018 6:43 AM
Modified: Sep 17, 2018 4:29 AM
Views: 18
Tags: no tags
  1. hsqldb - select 1 from INFORMATION_SCHEMA.SYSTEM_USERS
  2. Oracle - select 1 from dual
  3. DB2 - select 1 from sysibm.sysdummy1
  4. mysql - select 1
  5. microsoft SQL Server - select 1 (tested on SQL-Server 9.0, 10.5 [2008])
  6. postgresql - select 1
  7. ingres - select 1
  8. derby - values 1
  9. H2 - select 1
  10. Firebird - select 1 from rdb$database