Reputation: 173
It turned out, that the SQL syntax for creating a trigger has changed between ASE 15.7 and 16.0. While in the former
CREATE TRIGGER ...
must be used, the later await
CREATE OR REPLACE TRIGGER ...
must be used.
I know, on SQL it's SELECT @@version
or using sp_version
, but with JDBC?
Upvotes: 0
Views: 1440
Reputation: 586
Running select@@version through a JDBC connection should work and yield the same information as returned through isql.
Sample Code from SAP/Sybase documentation.
Upvotes: 1