SCD task and Sequence generator (Next Value) dependancy

We have Sequence generator (Next Value) enabled for surrogate keys (SQL Server 2012). When we use the new SCD task, we get the following error:

[Insert Destination [42]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "NEXT VALUE FOR function cannot be used if ROWCOUNT option has been set, or the query contains TOP or OFFSET. ".

Is there any know issue that these two features [SCD task and Next Value] cannot be used together?

August 13th, 2012 7:23pm

Bose,

evidently, the new SCD Task uses either the ROWCOUNT option and/or the TOP and/or OFFSET functions.

You can confirm this by using the Profiler, but the major outcome is that you cannot use the Sequence Generator coupled with the SCD Task in SSIS 2012.

Free Windows Admin Tool Kit Click here and download it now
August 14th, 2012 2:23am

I was able to get around this error by changing the "Data access mode" to "Table or view - fast load" on the OLE DB Destination settings.
  • Proposed as answer by WorkingOnBI Wednesday, April 17, 2013 3:28 AM
March 13th, 2013 1:02pm

I was able to get around this error by changing the "Data access mode" to "Table or view - fast load" on the OLE DB Destination settings.
  • Proposed as answer by WorkingOnBI Wednesday, April 17, 2013 3:28 AM
Free Windows Admin Tool Kit Click here and download it now
March 13th, 2013 1:02pm

I was able to get around this error by changing the "Data access mode" to "Table or view - fast load" on the OLE DB Destination settings.
  • Proposed as answer by WorkingOnBI Wednesday, April 17, 2013 3:28 AM
March 13th, 2013 1:02pm

Thanks.  That helped me to.  I am working on examples for the 70-463 exam (chapter 7 Lesson 1 exercise 1)
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2013 3:11am

I faced the issue after setting up SCD  as stated in Chapter 7 lesson 1 exercises

jphendrix  work around solved worked for me.

Thanks



March 19th, 2013 11:36pm

Same here for studying 70-463 exam using the Training Kit.

Thanks for the suggestion to change to "Table or view - fast load".

The author should include correction on Chapter 7 Lesson 1,  since every one will not get the SCD working.

All the best, jphendrix, LewieTheGreat, Bigdreams74 for 70-463.

Will love to hear your experience regarding the exam.

Cheers.

Free Windows Admin Tool Kit Click here and download it now
April 17th, 2013 3:26am

you are life saver...
October 9th, 2013 3:56pm

Thank you very much, this worked for me as well.
Free Windows Admin Tool Kit Click here and download it now
February 26th, 2014 11:37am

Thanks also, same problem, same reason - 70-463 exercises.
June 10th, 2014 4:10pm

Thanks jphendrix!  That solved my issue as well.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2014 6:26pm

I had the same problem.

Thanks for help us =]

March 20th, 2015 1:38pm

Thank you for your help.
Free Windows Admin Tool Kit Click here and download it now
March 24th, 2015 4:32pm

Thanks, I faced the same error and your solution helped me overcome the issue.
April 7th, 2015 6:27pm

Thanks.  That helped me to.  I solved the problem for 70-463 exam (chapter 7 Lesson 1 exercise 1)
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2015 11:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics