SAP Knowledge Base Article - Preview

2362276 - newid() function returns different results on Windows and on Linux


  • Running newid() procedure in Interactive SQL (dbisql) the results on Windows compared to Linux are different.
  • On Windows consecutive executions of newid() give completely different results.
  • On Linux consecutive executions of newid() return results that seem to be sequential.
  • Both still give unique results.



  • SAP SQL Anywhere 16.x
  • SAP SQL Anywhere 17.x


SAP SQL Anywhere 16.0


Sybase, SA, SQA, UUID, unique values, Linux, Windows, Universally Unique Identifier , KBA , BC-SYB-SQA-SRV , SQL Anywhere - Server , Problem

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.