I have a sequence, call it mySequence, in SQL Server. I’d like to extract
the next sequence number (an integer) via Lucee. So far my efforts have
failed.
I’ve created a query as below.
<cfquery name="getMySequence" datasource="myDatabase" >
Select next value for mySequence
</cfquery>
The result is not an integer, it is a query variable. This looks to be the
wrong approach. What is the better way?
I have a sequence, call it mySequence, in SQL Server. I’d like to
extract the next sequence number (an integer) via Lucee. So far my
efforts have failed.
I’ve created a query as below.
<cfquery name="getMySequence" datasource="myDatabase" >
Select next value for mySequence
</cfquery>
The result is not an integer, it is a query variable. This looks to
be the wrong approach. What is the better way?
–
Win a ticket to dev.objective from Lucee via Twitter, see http://bit.ly/1UbTMWj for details, good luck and see you there…