I am using a sql utility
which integrated in Solaris 10
.
I want get a column in a table but it seems my sql utility not allows.
Below is my code
SELECT
DBExternalAlarm.m_ObjectDN,
INSTR(DBExternalAlarm.m_ObjectDN,'@@',30),
SUBSTR(DBExternalAlarm.m_ObjectDN,1,INSTR(DBExternalAlarm.m_ObjectDN,'@@',30))
FROM DBExternalAlarm;
Result have only 2 data columns
- DBExternalAlarm.m_ObjectDN
- INSTR(DBExternalAlarm.m_ObjectDN,'@@',30)
I don't know, any body can give other way to resolve this. Can I using a varible or other function?