Hi,
I am trying to use an 'Add Sequence' step from the DB.
The DBMS is SqlServer 2016
The connection works for other transforms and is using 'Ms SQL Server (Native) (JDBC) ,
The Schema name can be entered or selected from the 'Schemas' button but the 'Sequences..' button remains greyed out.
The sequence is in a schema that has 'Update' granted to this user.
If I type the sequence name manually then when running it gives an error
2017/01/25 16:00:08 - Add sequence.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Because of an error, this step can't continue:
2017/01/25 16:00:08 - Add sequence.0 - Error reading next value of sequence [dds_seq] from database
2017/01/25 16:00:08 - Add sequence.0 -
2017/01/25 16:00:08 - Add sequence.0 - Unable to get next value for sequence : "DATA".dds_seq
2017/01/25 16:00:08 - Add sequence.0 - The statement did not return a result set.
I have tried lots of variations with square brackets etc and it ends up the same.
I see this problem has been reported before - years ago - and with different DBMSs but no 'solution' was shown.
Any ideas ?
Thanks in advance
JC
I am trying to use an 'Add Sequence' step from the DB.
The DBMS is SqlServer 2016
The connection works for other transforms and is using 'Ms SQL Server (Native) (JDBC) ,
The Schema name can be entered or selected from the 'Schemas' button but the 'Sequences..' button remains greyed out.
The sequence is in a schema that has 'Update' granted to this user.
If I type the sequence name manually then when running it gives an error
2017/01/25 16:00:08 - Add sequence.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Because of an error, this step can't continue:
2017/01/25 16:00:08 - Add sequence.0 - Error reading next value of sequence [dds_seq] from database
2017/01/25 16:00:08 - Add sequence.0 -
2017/01/25 16:00:08 - Add sequence.0 - Unable to get next value for sequence : "DATA".dds_seq
2017/01/25 16:00:08 - Add sequence.0 - The statement did not return a result set.
I have tried lots of variations with square brackets etc and it ends up the same.
I see this problem has been reported before - years ago - and with different DBMSs but no 'solution' was shown.
Any ideas ?
Thanks in advance
JC