SQL Anywhere Network Server Version 12.0.1.3967 I use the example from the documentation on CREATE VARIABLE statement: 1) Result = NULL But: Result = 10 2b) Result = 10 |
This appears to be a bug. I have reproduced it on both the latest v12 and v16. I had a quick look a the code and it seems correct... so there is obviously something strange going on that will require more investigation. Until this issue is fixed you can use 2b as a work-around. (I'll post back here when the issue is fixed) FYI: This issue is begin tracked as Engineering Issue (QTS) #693422
(09 Dec '13, 10:19)
Mark Culp
This has been fixed in 12.0.1 build 4031 and 16.0.0 build 1758.
(09 Dec '13, 14:25)
Mark Culp
|