Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

NEXT VALUE FOR SAP MII

$
0
0

Hello ,

 

I created Sequencing in SQL Server 2012 database . I am trying to get the sequence number using NEXT VALUE FOR function in MII  .

 

SELECT NEXT VALUE FOR PROJECT_SEQ AS PROJECT_ID . I am getting below error

 

 

com.microsoft.sqlserver.jdbc.SQLServerException: NEXT VALUE FOR function cannot be used if ROWCOUNT option has been set, or the query contains TOP or OFFSET.

 

THE NEXT VALUE FOR function doesn't support the ROWCOUNT , TOP or OFFSET in the query but looks like MII internally is sending ROWCOUNT.  Is there any way to bypass ROWCOUNT in MII ?

 

 

Thanks,

Naresh


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>