Symptom
When the 'Null' value or constant value is used as a input parameter, the return value of function is the same regardless of the number of returned rows.
select a, dbo.sp_f_nextval('user_action_seq', NULL) from zzz
go
a
-------------------- ---------------------------------
abc 1
def 1
select a, dbo.sp_f_nextval('user_action_seq', a) from zzz
go
a
-------------------- ---------------------------------
abc 2
def 3
Read more...
Environment
SAP Adaptive Server Enterprise (ASE)
Product
Keywords
KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview