In SAP ASE (Sybase) identity column has to be declared as numeric(X,0).
CREATE TABLE TABLENAME
(
id_column_name numeric(5,0) identity,
...
Error Message while try to run queries for SAP ASE server:
Collection of monitoring data for <OBJECT> requires that the 'enable monitoring' configuration option(s) be enabled.
Solution:
sp_configure 'enable monitoring', 1
Open cmd and run:
telnet <IP_ADDRESS> <PORT_NUMBER>
Example:
telnet 30.125.40.120 5000
* If telnet doesn't work, turn "Telnet Client" on via "Programs and Features"-->"Installed updates"-->"Turn Windows features on or off".
What I tried to do?
Install SAP ASE 15.7 server, run the setup file.
Error:
This Application has Unexpectedly Quit
Invocation of this Java application has cause an Invocation Target Exception. this application will now exit
Cause:
Not fit SAP ASE release to the OS.
Look at SAP docs if the ASE release can be installed on the OS.
startserver -f RUN_servername
If you've got this error message:
bash: startserver: command not found...
Find where it is placed and run:
. SYBASE.sh ( the file with the Sybase Product Environment variables)
After it run again startserver from its folder.
sp_placeobject SEGMENTNAME , 'TABLENAME'
A device has to be created.
How to create a device:
https://copypastenet.blogspot.com/2019/12/sap-ase-sybase-create-device.html
-- Create Database
create database DATABASENAME
on DEVICENAME='100M' -- data device
log on LOGDEVICENAME='100M' -- log device, if not declared - log will be in the same device as the data
GO
For more options in the creation:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc36272.1600/doc/html/san1393050910896.html