I have a mysterious SQL database presented through a web interface. I tried to show tables; but was told that's not a valid command, so I'm trying to figure out what flavor of SQL this is.
Does anyone know a command that can help identify the flavor of SQL being used? Any pointers would be very helpful!
Not an answer but a comment that doesn't fit in the comments. You can start by trying the following commands and see if one succeeds:
select * from V$VERSION;select service_level from sysibmadm.env_inst_info;select version();select @@version;select version();select version();SELECT H2VERSION() FROM DUALselect sqlite_version();select rdb$get_context('SYSTEM', 'ENGINE_VERSION') as version from rdb$database;HyperSQL gives itself away by implementing the BOOLEAN and INTERVAL types.
In Derby you can select from the table sysibm.sysdummy1 (as well as in DB2).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With