﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 - General  / SSIS Package Error / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sun, 19 May 2013 20:17:23 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SSIS Package Error</title><link>http://www.sqlservercentral.com/Forums/Topic1409302-391-1.aspx</link><description>HI Lynn and all othersThis is a heading banging against the wall type of thing that I have been trying to get the upper management to understand for a little while now, right after I first discovered it. They are using the same schema in not only SQL Server, but in DB2.So when I create a table variable to load data, thru my ETL process. I use 8 to 10 different tables to route the data accordingly. I fill a RowID very easily and simple in SQL Server. But I have to turn right around on the next step, query a "Keys" table to select the rowcount, which someone named "Count"(a nice reserved work in SQL Server) , select the count for the table where I am loading said data, and then reseed the temp table that I am using.Makes me want to beat the crap out some of the old time thinkers.I did figure out that I can use a hard table, since only the ETL process will be touching and only once a day, to get around this issue. SSIS will use the service account to perform the reseed, and it does this with no errors.Notice my little guy at the computer pulling his hair out, that is exactly the way I feel some of the time working with a poor performing schema of DB2 within SQL Server. I am thankful this is for only one little database and one fairly simple data load ETL. All the other, I have designed using SQL Server process, standards and coding methods.ThanksAndrew SQLDBA</description><pubDate>Sun, 20 Jan 2013 16:24:25 GMT</pubDate><dc:creator>AndrewSQLDBA</dc:creator></item><item><title>RE: SSIS Package Error</title><link>http://www.sqlservercentral.com/Forums/Topic1409302-391-1.aspx</link><description>I'm curious what the business case is for reseeding the identity value?  What problem is this solving?</description><pubDate>Sun, 20 Jan 2013 15:21:23 GMT</pubDate><dc:creator>Lynn Pettis</dc:creator></item><item><title>SSIS Package Error</title><link>http://www.sqlservercentral.com/Forums/Topic1409302-391-1.aspx</link><description>Hello EveryoneI know this is a SSIS Package issue. But I cannot find a category for "2008 SSIS Packages"I have a step in a package that calls a sproc. No big issue, the package runs fine until this point. The issue is there must be a "DBCC CheckIdent" statement in the sproc.This is the error that I am receiving during the Development processing of the package. I am executing the package from within BIDS. I have not tried executing the package from the SQL Job as of yet.Error:[quote][Execute SQL Task] Error: Executing the query "EXEC dbo.INS_Labs_from_ETL_to_Prod" failed with the following error: "User 'guest' does not have permission to run DBCC CHECKIDENT for object '#Labs[/quote]There is Not a "Guest" account on this box and not a guest account in SQL. One, how do I fix this so that the package will execute and succeed. This is the line of code in the sproc:[code="sql"]DBCC CHECKIDENT ('#Labs', RESEED , @NextRowNumber) WITH NO_INFOMSGS[/code]Or does anyone have a suggestion or a better way of performing this process to reset the Seed Identity of the table?Thank you in advance for all your help, suggestions or comments.Andrew SQLDBA</description><pubDate>Sun, 20 Jan 2013 13:38:33 GMT</pubDate><dc:creator>AndrewSQLDBA</dc:creator></item></channel></rss>