calling sql sequence in Thingworx
I have a stored procedure that contains an insert statement using "NEXT VALUE FOR" to use a sequence. The stored procedure works fine in SSMS, but fails to execute when executed from a DB Thing. My DB Service is a SQL Query and uses "EXECUTE". If I remove "NEXT VALUE FOR" from my stored procedure and just hard code a value it all works.
Is there some trick to get my stored procedure to be able to use the "NEXT VALUE FOR"?
Re: post

