Server: Msg 8928, Level 16, State 1, Line 1
Object ID 650485396, index ID 255: Page (1:5426420) could not be processed. See other errors for details.
DBCC results for 'LTINTERVENTIONS'.
There are 739501 rows in 37787 pages for object 'LTINTERVENTIONS'.
CHECKDB found 0 allocation errors and 1 consistency errors in table 'LTINTERVENTIONS' (object ID 650485396).
This error has cleared up without any CheckTable repair, but the same sort of error appears on other tables.
I restore a backup (last night backup 7:30PM - CheckDB reported errors) from the database unto another server, ran CheckDB, and no errors.
Is the data file corrupted? Can I delete the data file and restore from a backup?
The system is Windows 2003 Server (latest SP), SQL Server 2000 (SP3a) and we have a SAN with RAID 10 arrays for the drives. The errors are appearing on 2 different drives on 2 different databases.
The CheckDB on Sunday shows errors on tables that now have no errors on the CheckDB from last night, but last night's CheckDB has different tables with errors.
The errors logs on the server only show Application SQL errors, no system errors.
I have 2 data sources that have recently been updated from SQL Express to full versions of 2005. The connection strings have been changed, and the changes appear in the code, but the data source designer still shows the SQLExpress portion of the connection string. This seems to be fouling up SSIS packages that are using these data sources. Has anyone else encountered this? If so, what can I do to fix this issue?
I don't really have the problem anymore, but I'd like to know exactly what causes inconsistency in a table, I'm using SQL SERVER 2000 SP4.
I solved the problem of iconsistency with DBCC repair_allow_data_loss, in very short time, luckly, no need to restore, no significant data loss occurr, the very same day the production database work again.
The thing is that I search the origin of the problem but find nothing. I really wold like to know what causes this kind of problem and how can I prevent them. I have look in many forums and bases of knowledge, but only steps of how to fix the problemm appear.
i have a sqlserver 2005 mergereplication. some facts:
SQL Server 2005 9.0.3175 Standard Edition german
1 Distributor / Publisher (same Server)
10 Subscriber
30 GB Database with 200 Tables ; in sum 35,000,000 rows
Every subscriber can change data. Sometimes (i think in 1 of 1000 cases) following curious error occured: the subscriber update data (for example varchar value), but the changes aren´t replicated to the publisher. In case of our 35Mil rows, this is not acceptable.
What can I do? I have no specified error, no errormessage, but the data isn´t correct. There is big inconsistency!!!
One of the db's I support is prone to throwing up inconsistency errors from time to time. The latest problem seems to relate to indexes.
Server: Msg 2511, Level 16, State 1, Line 1 Table error: Object ID 645577338, Index ID 3. Keys out of order on page (1:286818), slots 308 and 309. Server: Msg 2511, Level 16, State 1, Line 1 Table error: Object ID 645577338, Index ID 3. Keys out of order on page (1:286826), slots 308 and 309. DBCC results for 'OrderItem'. There are 9973753 rows in 67394 pages for object 'OrderItem'. CHECKTABLE found 0 allocation errors and 2 consistency errors in table 'OrderItem' (object ID 645577338). repair_rebuild is the minimum repair level for the errors found by DBCC CHECKTABLE (Iceland.dbo.OrderItem ).
I could run a DBCC checktable with the options that *might* fix the above. I am also thinking about doing an index rebuild (currently a nightly index defrag is done but no schedule for an index rebuild is in place). Another table is involved. Both table are reasonably large (one is 7 million rows and the other is nearly 10 million rows). These tables are involved in a chain of many to many relationships. I don't know if it's a factor but the chain is circular. However, this doesn't seem to cause problem in other dbs that have the same design.
What would be the recommended approach for:-
a) fixing the current db inconsistencies? b) finding the underlying cause of the problem to stop it from happening again?
hi all Is there any way to remove inconsistencies from sysindexes table. I have already used all the options of the checkdb as well as checktable but invain. thanks in advance
I am going crazy!! We have a new server with 80GB RAM. I restore a database a little over 3TB, EXEC DBCC CHECKDB and receive the output below which conitues to error on tempdb any idea why tempdb?? Thanks for any help!!
**** Msg 5242, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 An inconsistency was detected during an internal operation in database 'tempdb'(ID:2) on page (17:4003567). Please contact technical support. Reference number 4. The statement has been terminated. Msg 5242, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 An inconsistency was detected during an internal operation in database 'tempdb'(ID:2) on page (15:913355). Please contact technical support. Reference number 3. The statement has been terminated. Msg 5242, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 An inconsistency was detected during an internal operation in database 'tempdb'(ID:2) on page (9:3514551). Please contact technical support. Reference number 4. The statement has been terminated. Msg 5242, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 An inconsistency was detected during an internal operation in database 'tempdb'(ID:2) on page (18:2808171). Please contact technical support. Reference number 4. The statement has been terminated. DBCC results for 'SalesDM'. Service Broker Msg 9675, State 1: Message Types analyzed: 14. Service Broker Msg 9676, State 1: Service Contracts analyzed: 6. Service Broker Msg 9667, State 1: Services analyzed: 3. Service Broker Msg 9668, State 1: Service Queues analyzed: 3. Service Broker Msg 9669, State 1: Conversation Endpoints analyzed: 0. Service Broker Msg 9674, State 1: Conversation Groups analyzed: 0. Service Broker Msg 9670, State 1: Remote Service Bindings analyzed: 0. DBCC results for 'sys.sysrowsetcolumns'. There are 16874 rows in 122 pages for object "sys.sysrowsetcolumns". DBCC results for 'sys.sysrowsets'. There are 2240 rows in 16 pages for object "sys.sysrowsets". DBCC results for 'sysallocunits'. There are 2253 rows in 30 pages for object "sysallocunits". DBCC results for 'sys.sysfiles1'. There are 70 rows in 8 pages for object "sys.sysfiles1". DBCC results for 'sys.syshobtcolumns'. There are 16880 rows in 142 pages for object "sys.syshobtcolumns". DBCC results for 'sys.syshobts'. There are 2240 rows in 16 pages for object "sys.syshobts". DBCC results for 'sys.sysftinds'. There are 0 rows in 0 pages for object "sys.sysftinds". DBCC results for 'sys.sysserefs'. There are 2253 rows in 12 pages for object "sys.sysserefs". DBCC results for 'sys.sysowners'. There are 34 rows in 1 pages for object "sys.sysowners". DBCC results for 'sys.sysprivs'. There are 180 rows in 1 pages for object "sys.sysprivs". DBCC results for 'sys.sysschobjs'. There are 1271 rows in 24 pages for object "sys.sysschobjs". DBCC results for 'sys.syscolpars'. There are 16219 rows in 313 pages for object "sys.syscolpars". DBCC results for 'sys.sysnsobjs'. There are 1 rows in 1 pages for object "sys.sysnsobjs". DBCC results for 'sys.syscerts'. There are 0 rows in 0 pages for object "sys.syscerts". DBCC results for 'sys.sysxprops'. There are 14 rows in 4 pages for object "sys.sysxprops". DBCC results for 'sys.sysscalartypes'. There are 28 rows in 1 pages for object "sys.sysscalartypes". DBCC results for 'sys.systypedsubobjs'. There are 0 rows in 0 pages for object "sys.systypedsubobjs". DBCC results for 'sys.sysidxstats'. There are 8087 rows in 172 pages for object "sys.sysidxstats". DBCC results for 'sys.sysiscols'. There are 8981 rows in 72 pages for object "sys.sysiscols". DBCC results for 'sys.sysbinobjs'. There are 23 rows in 1 pages for object "sys.sysbinobjs". DBCC results for 'sys.sysobjvalues'. There are 8428 rows in 5734 pages for object "sys.sysobjvalues". DBCC results for 'sys.sysclsobjs'. There are 82 rows in 1 pages for object "sys.sysclsobjs". DBCC results for 'sys.sysrowsetrefs'. There are 0 rows in 0 pages for object "sys.sysrowsetrefs". DBCC results for 'sys.sysremsvcbinds'. There are 0 rows in 0 pages for object "sys.sysremsvcbinds". DBCC results for 'sys.sysxmitqueue'. There are 0 rows in 0 pages for object "sys.sysxmitqueue". DBCC results for 'sys.sysrts'. There are 1 rows in 1 pages for object "sys.sysrts". DBCC results for 'sys.sysconvgroup'. There are 0 rows in 0 pages for object "sys.sysconvgroup". DBCC results for 'sys.sysdesend'. There are 0 rows in 0 pages for object "sys.sysdesend". DBCC results for 'sys.sysdercv'. There are 0 rows in 0 pages for object "sys.sysdercv". DBCC results for 'sys.syssingleobjrefs'. There are 293 rows in 2 pages for object "sys.syssingleobjrefs". DBCC results for 'sys.sysmultiobjrefs'. There are 12726 rows in 93 pages for object "sys.sysmultiobjrefs". DBCC results for 'sys.sysdbfiles'. There are 70 rows in 4 pages for object "sys.sysdbfiles". DBCC results for 'sys.sysguidrefs'. There are 68 rows in 1 pages for object "sys.sysguidrefs". DBCC results for 'sys.sysqnames'. There are 92 rows in 1 pages for object "sys.sysqnames". DBCC results for 'sys.sysxmlcomponent'. There are 93 rows in 1 pages for object "sys.sysxmlcomponent". DBCC results for 'sys.sysxmlfacet'. There are 97 rows in 1 pages for object "sys.sysxmlfacet". DBCC results for 'sys.sysxmlplacement'. There are 17 rows in 1 pages for object "sys.sysxmlplacement". DBCC results for 'sys.sysobjkeycrypts'. There are 0 rows in 0 pages for object "sys.sysobjkeycrypts". DBCC results for 'sys.sysasymkeys'. There are 0 rows in 0 pages for object "sys.sysasymkeys". DBCC results for 'sys.syssqlguides'. There are 0 rows in 0 pages for object "sys.syssqlguides". DBCC results for 'sys.sysbinsubobjs'. There are 0 rows in 0 pages for object "sys.sysbinsubobjs". DBCC results for 'FctTenderBridge200706'. There are 26653646 rows in 69231 pages for object "FctTenderBridge200706". DBCC results for 'FctInventoryDetailOverShort200609'. There are 908219 rows in 18922 pages for object "FctInventoryDetailOverShort200609". DBCC results for 'FctItem200707'. There are 69452016 rows in 1507439 pages for object "FctItem200707". DBCC results for 'FctMarketBasket200802'. There are 0 rows in 0 pages for object "FctMarketBasket200802". DBCC results for 'FctTrans200704'. There are 38540518 rows in 597065 pages for object "FctTrans200704". DBCC results for 'FctInventoryDetailOverShort200608'. There are 1077109 rows in 22440 pages for object "FctInventoryDetailOverShort200608". DBCC results for 'FctMarketBasket200803'. There are 0 rows in 0 pages for object "FctMarketBasket200803". DBCC results for 'FctTrans200705'. There are 42379252 rows in 655684 pages for object "FctTrans200705". DBCC results for 'FctInventoryDetailOverShort200607'. There are 1027581 rows in 21408 pages for object "FctInventoryDetailOverShort200607". DBCC results for 'FctMarketBasket200804'. There are 0 rows in 0 pages for object "FctMarketBasket200804". DBCC results for 'FctPurchases200612'. There are 80697 rows in 8112 pages for object "FctPurchases200612". DBCC results for 'FctTrans'. There are 0 rows in 1 pages for object "FctTrans". DBCC results for 'FctTrans200706'. There are 42427263 rows in 656341 pages for object "FctTrans200706". DBCC results for 'FctInventoryOverShort200701'. There are 11805 rows in 1074 pages for object "FctInventoryOverShort200701". DBCC results for 'FctItem200710'. There are 64543846 rows in 1400823 pages for object "FctItem200710". DBCC results for 'FctMarketBasket200805'. There are 0 rows in 0 pages for object "FctMarketBasket200805". DBCC results for 'FctInventoryOverShort200702'. There are 20945 rows in 1911 pages for object "FctInventoryOverShort200702". DBCC results for 'FctItem200711'. There are 61572408 rows in 1336204 pages for object "FctItem200711". DBCC results for 'AggFctInventory200709'. There are 38674561 rows in 345311 pages for object "AggFctInventory200709". DBCC results for 'FctMarketBasket200806'. There are 0 rows in 0 pages for object "FctMarketBasket200806". DBCC results for 'FctInventoryDetailOverShort200701'. There are 1137310 rows in 23694 pages for object "FctInventoryDetailOverShort200701". DBCC results for 'FctItem200712'. There are 61015139 rows in 1324141 pages for object "FctItem200712". DBCC results for 'FctPurchases200801'. There are 61634 rows in 6165 pages for object "FctPurchases200801". DBCC results for 'FctInventoryDetailOverShort200702'. There are 870050 rows in 25566 pages for object "FctInventoryDetailOverShort200702". DBCC results for 'FctMarketBasket200707'. There are 14738148 rows in 140364 pages for object "FctMarketBasket200707". DBCC results for 'FctPurchasesDetail200611'. There are 1525759 rows in 50859 pages for object "FctPurchasesDetail200611". DBCC results for 'FctInventoryOverShort200612'. There are 11407 rows in 1037 pages for object "FctInventoryOverShort200612". DBCC results for 'FctMarketBasket200708'. There are 14925509 rows in 142148 pages for object "FctMarketBasket200708". DBCC results for 'DimTender'. There are 252 rows in 4 pages for object "DimTender". DBCC results for 'FctInventoryOverShort200611'. There are 20815 rows in 1893 pages for object "FctInventoryOverShort200611". DBCC results for 'FctMarketBasket200709'. There are 12731912 rows in 121257 pages for object "FctMarketBasket200709". DBCC results for 'FctPurchases200802'. There are 0 rows in 0 pages for object "FctPurchases200802". DBCC results for 'FctTrans200603'. There are 36881167 rows in 595900 pages for object "FctTrans200603". DBCC results for 'FctInventoryOverShort200610'. There are 23278 rows in 2117 pages for object "FctInventoryOverShort200610". DBCC results for 'FctMarketBasket200710'. There are 13466682 rows in 128255 pages for object "FctMarketBasket200710". DBCC results for 'DimVendor'. There are 8345 rows in 150 pages for object "DimVendor". DBCC results for 'FctItem200509'. There are 55103852 rows in 1196780 pages for object "FctItem200509". DBCC results for 'DimTime'. There are 210336 rows in 14506 pages for object "DimTime". DBCC results for 'FctInventoryOverShort200609'. There are 21303 rows in 1937 pages for object "FctInventoryOverShort200609". DBCC results for 'FctMarketBasket200711'. There are 12639259 rows in 120374 pages for object "FctMarketBasket200711". DBCC results for 'FctTrans200504'. There are 6346491 rows in 83507 pages for object "FctTrans200504". DBCC results for 'FctPurchasesDetail200610'. There are 1534022 rows in 51135 pages for object "FctPurchasesDetail200610". DBCC results for 'FctInventoryOverShort200608'. There are 22840 rows in 2077 pages for object "FctInventoryOverShort200608". DBCC results for 'FctMarketBasket200712'. There are 12467649 rows in 118740 pages for object "FctMarketBasket200712". DBCC results for 'FctPurchases200803'. There are 0 rows in 0 pages for object "FctPurchases200803". DBCC results for 'FctTrans200502'. There are 5601498 rows in 75783 pages for object "FctTrans200502". DBCC results for 'FctInventoryOverShort200607'. There are 23055 rows in 2096 pages for object "FctInventoryOverShort200607". DBCC results for 'FctPurchases200707'. There are 86938 rows in 8695 pages for object "FctPurchases200707". DBCC results for 'FctItem200504'. There are 6344255 rows in 115351 pages for object "FctItem200504". DBCC results for 'FctInventoryOverShort'. There are 0 rows in 1 pages for object "FctInventoryOverShort". DBCC results for 'AggFctInventory200710'. There are 40548491 rows in 362042 pages for object "AggFctInventory200710". DBCC results for 'FctItem200502'. There are 5846295 rows in 109676 pages for object "FctItem200502". DBCC results for 'FctInventoryDetailOverShort200703'. There are 1080358 rows in 22508 pages for object "FctInventoryDetailOverShort200703". DBCC results for 'FctPurchases200804'. There are 0 rows in 0 pages for object "FctPurchases200804". DBCC results for 'FctItem200402'. There are 2363053 rows in 42965 pages for object "FctItem200402". DBCC results for 'FctTenderBridge200610'. There are 24029388 rows in 62419 pages for object "FctTenderBridge200610". DBCC results for 'DimTransAccount'. There are 23 rows in 1 pages for object "DimTransAccount". DBCC results for 'FctPurchases200708'. There are 89984 rows in 8999 pages for object "FctPurchases200708". DBCC results for 'FctTrans200402'. There are 2363213 rows in 31095 pages for object "FctTrans200402". DBCC results for 'FctItem200403'. There are 2654122 rows in 48257 pages for object "FctItem200403". DBCC results for 'FctTender200610'. There are 36279859 rows in 594752 pages for object "FctTender200610". DBCC results for 'FctItem200603'. There are 58617729 rows in 1272670 pages for object "FctItem200603". DBCC results for 'FctInventoryDetailOverShort'. There are 0 rows in 1 pages for object "FctInventoryDetailOverShort". DBCC results for 'FctPurchases200805'. There are 0 rows in 0 pages for object "FctPurchases200805". DBCC results for 'FctItem200404'. There are 2674211 rows in 48623 pages for object "FctItem200404". DBCC results for 'FctPurchases200709'. There are 81611 rows in 8162 pages for object "FctPurchases200709". DBCC results for 'FctTrans200403'. There are 2655446 rows in 34941 pages for object "FctTrans200403". DBCC results for 'FctTender200611'. There are 35005924 rows in 573868 pages for object "FctTender200611". DBCC results for 'FctPurchasesDetail200609'. There are 1425542 rows in 47519 pages for object "FctPurchasesDetail200609". DBCC results for 'FctTrans200404'. There are 2674418 rows in 35190 pages for object "FctTrans200404". DBCC results for 'FctPurchases200806'. There are 0 rows in 0 pages for object "FctPurchases200806". DBCC results for 'FctTrans200401'. There are 2403683 rows in 31628 pages for object "FctTrans200401". DBCC results for 'vw_FctTransFctTender200612'. There are 22794210 rows in 411662 pages for object "vw_FctTransFctTender200612". DBCC results for 'FctTender200612'. There are 38084959 rows in 624345 pages for object "FctTender200612". DBCC results for 'FctTrans200604'. There are 35887758 rows in 579843 pages for object "FctTrans200604". DBCC results for 'FctPurchases200710'. There are 91429 rows in 9144 pages for object "FctPurchases200710". DBCC results for 'FctItem200401'. There are 2403524 rows in 43701 pages for object "FctItem200401". DBCC results for 'vw_FctItemFctTender200611'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200611' (object ID 351340316) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 56265296 rows in 1003654 pages for object "vw_FctItemFctTender200611". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctItemFctTender200611' (object ID 351340316). DBCC results for 'FctItem200604'. There are 57288301 rows in 1242370 pages for object "FctItem200604". DBCC results for 'FctPurchases200609'. There are 74084 rows in 7409 pages for object "FctPurchases200609". DBCC results for 'FctItem200501'. There are 4852798 rows in 88233 pages for object "FctItem200501". DBCC results for 'vw_FctTransFctTender200611'. There are 23074679 rows in 378454 pages for object "vw_FctTransFctTender200611". DBCC results for 'FctPurchasesDetail200801'. There are 1125683 rows in 37525 pages for object "FctPurchasesDetail200801". DBCC results for 'FctTenderBridge200605'. There are 23287797 rows in 60489 pages for object "FctTenderBridge200605". DBCC results for 'FctTrans200501'. There are 4854053 rows in 63870 pages for object "FctTrans200501". DBCC results for 'vw_TicketInternalKey200611'. There are 22624684 rows in 70046 pages for object "vw_TicketInternalKey200611". DBCC results for 'FctPurchases200711'. There are 87626 rows in 8764 pages for object "FctPurchases200711". DBCC results for 'FctTenderBridge200604'. There are 23005866 rows in 59759 pages for object "FctTenderBridge200604". DBCC results for 'FctTrans200505'. There are 7073426 rows in 93072 pages for object "FctTrans200505". DBCC results for 'FctPurchasesDetail200608'. There are 1642560 rows in 54752 pages for object "FctPurchasesDetail200608". DBCC results for 'FctTrans200506'. There are 7642026 rows in 100553 pages for object "FctTrans200506". DBCC results for 'AggFctInventory200705'. There are 38969703 rows in 347945 pages for object "AggFctInventory200705". DBCC results for 'FctPurchasesDetail200802'. There are 0 rows in 0 pages for object "FctPurchasesDetail200802". DBCC results for 'FctTenderBridge200603'. There are 23767139 rows in 61737 pages for object "FctTenderBridge200603". DBCC results for 'FctTrans200609'. There are 37186561 rows in 575669 pages for object "FctTrans200609". DBCC results for 'DimCashier'. There are 60954 rows in 791 pages for object "DimCashier". DBCC results for 'FctPurchases200712'. There are 84886 rows in 8491 pages for object "FctPurchases200712". DBCC results for 'FctTenderBridge200602'. There are 19940534 rows in 51796 pages for object "FctTenderBridge200602". DBCC results for 'FctMarketBasket200609'. There are 12290937 rows in 117057 pages for object "FctMarketBasket200609". DBCC results for 'FctPurchases'. There are 0 rows in 1 pages for object "FctPurchases". DBCC results for 'FctTenderBridge200601'. There are 21564340 rows in 56014 pages for object "FctTenderBridge200601". DBCC results for 'FctTrans200507'. There are 8155261 rows in 107307 pages for object "FctTrans200507". DBCC results for 'FctItem200709'. There are 61442354 rows in 1333533 pages for object "FctItem200709". DBCC results for 'FctPurchases200608'. There are 79135 rows in 7914 pages for object "FctPurchases200608". DBCC results for 'FctItem200609'. There are 58642975 rows in 1273085 pages for object "FctItem200609". DBCC results for 'FctPurchasesDetail200803'. There are 0 rows in 0 pages for object "FctPurchasesDetail200803". DBCC results for 'FctTender200601'. There are 32455905 rows in 532067 pages for object "FctTender200601". DBCC results for 'FctItem200708'. There are 69522046 rows in 1508890 pages for object "FctItem200708". DBCC results for 'DimOrg'. There are 779 rows in 262 pages for object "DimOrg". DBCC results for 'FctPurchasesDetail200707'. There are 1751890 rows in 58397 pages for object "FctPurchasesDetail200707". DBCC results for 'AggFctInventory200712'. There are 41688785 rows in 372223 pages for object "AggFctInventory200712". DBCC results for 'FctItem200408'. There are 3454006 rows in 62801 pages for object "FctItem200408". DBCC results for 'FctTender200602'. There are 30080750 rows in 493131 pages for object "FctTender200602". DBCC results for 'FctPurchases200607'. There are 73974 rows in 7398 pages for object "FctPurchases200607". DBCC results for 'FctTrans200408'. There are 3454482 rows in 45454 pages for object "FctTrans200408". DBCC results for 'FctPurchasesDetail200804'. There are 0 rows in 0 pages for object "FctPurchasesDetail200804". DBCC results for 'FctTrans200405'. There are 2780741 rows in 36589 pages for object "FctTrans200405". DBCC results for 'FctPurchasesDetail200708'. There are 1823875 rows in 60796 pages for object "FctPurchasesDetail200708". DBCC results for 'FctTrans200406'. There are 2935300 rows in 38623 pages for object "FctTrans200406". DBCC results for 'DimItemAccount'. There are 10 rows in 1 pages for object "DimItemAccount". DBCC results for 'FctTender200603'. There are 35718186 rows in 585547 pages for object "FctTender200603". DBCC results for 'FctTrans200407'. There are 3288438 rows in 43269 pages for object "FctTrans200407". DBCC results for 'FctPurchasesDetail200607'. There are 1512599 rows in 50420 pages for object "FctPurchasesDetail200607". DBCC results for 'FctPurchasesDetail'. There are 0 rows in 1 pages for object "FctPurchasesDetail". DBCC results for 'FctPurchasesDetail200805'. There are 0 rows in 0 pages for object "FctPurchasesDetail200805". DBCC results for 'FctPurchasesDetail200709'. There are 1586798 rows in 52894 pages for object "FctPurchasesDetail200709". DBCC results for 'FctTender200604'. There are 34580883 rows in 566903 pages for object "FctTender200604". DBCC results for 'FctItem200405'. There are 2780503 rows in 50555 pages for object "FctItem200405". DBCC results for 'FctItem200406'. There are 2934977 rows in 53364 pages for object "FctItem200406". DBCC results for 'DimPriceBook'. There are 118229 rows in 5396 pages for object "DimPriceBook". DBCC results for 'FctPurchasesDetail200806'. There are 0 rows in 0 pages for object "FctPurchasesDetail200806". DBCC results for 'FctTender200605'. There are 34938958 rows in 572773 pages for object "FctTender200605". DBCC results for 'FctItem200407'. There are 3288013 rows in 59783 pages for object "FctItem200407". DBCC results for 'FctPurchasesDetail200710'. There are 1754756 rows in 58492 pages for object "FctPurchasesDetail200710". DBCC results for 'DimCashierScoreCardMetric_200817'. There are 49 rows in 16 pages for object "DimCashierScoreCardMetric_200817". DBCC results for 'FctTender200606'. There are 37162123 rows in 609219 pages for object "FctTender200606". DBCC results for 'FctTender200801'. There are 25344386 rows in 415482 pages for object "FctTender200801". DBCC results for 'FctItem200507'. There are 8152151 rows in 148221 pages for object "FctItem200507". DBCC results for 'vw_TicketInternalKey200610'. There are 23299468 rows in 72135 pages for object "vw_TicketInternalKey200610". DBCC results for 'FctInventory200607'. There are 33332867 rows in 424060 pages for object "FctInventory200607". DBCC results for 'Staging_FOCUSITEMS'. There are 105818 rows in 3320 pages for object "Staging_FOCUSITEMS". DBCC results for 'FctPurchasesDetail200711'. There are 1657167 rows in 55240 pages for object "FctPurchasesDetail200711". DBCC results for 'DimCashierScoreCardMetric'. There are 49 rows in 16 pages for object "DimCashierScoreCardMetric". DBCC results for 'FctItem200506'. There are 7639495 rows in 138900 pages for object "FctItem200506". DBCC results for 'FctItem200508'. There are 8068694 rows in 146704 pages for object "FctItem200508". DBCC results for 'FctTender200802'. There are 0 rows in 0 pages for object "FctTender200802". DBCC results for 'FctItem200505'. There are 7070917 rows in 128563 pages for object "FctItem200505". DBCC results for 'FctInventory200608'. There are 33548346 rows in 459782 pages for object "FctInventory200608". DBCC results for 'FctTrans200508'. There are 8072020 rows in 106211 pages for object "FctTrans200508". DBCC results for 'FctItem200409'. There are 3518045 rows in 63965 pages for object "FctItem200409". DBCC results for 'FctInventory200609'. There are 33154325 rows in 423373 pages for object "FctInventory200609". DBCC results for 'FctPurchasesDetail200712'. There are 1601447 rows in 53383 pages for object "FctPurchasesDetail200712". DBCC results for 'FctTender200803'. There are 0 rows in 0 pages for object "FctTender200803". DBCC results for 'FctItem200410'. There are 4030031 rows in 73274 pages for object "FctItem200410". DBCC results for 'AggFctInventory200706'. There are 38251840 rows in 341536 pages for object "AggFctInventory200706". DBCC results for 'FctItem200411'. There are 4246191 rows in 77204 pages for object "FctItem200411". DBCC results for 'FctTender200804'. There are 0 rows in 0 pages for object "FctTender200804". DBCC results for 'FctItem200412'. There are 4669485 rows in 84900 pages for object "FctItem200412". DBCC results for 'FctTender200707'. There are 38975324 rows in 638940 pages for object "FctTender200707". DBCC results for 'DimScenario'. There are 2 rows in 1 pages for object "DimScenario". DBCC results for 'FctTender200805'. There are 0 rows in 0 pages for object "FctTender200805". DBCC results for 'FctTender200708'. There are 38188637 rows in 626044 pages for object "FctTender200708". DBCC results for 'AggFctCashierScorecard200801_old'. There are 732565 rows in 6106 pages for object "AggFctCashierScorecard200801_old". DBCC results for 'FctTender200512'. There are 34223755 rows in 561048 pages for object "FctTender200512". DBCC results for 'FctTrans200409'. There are 3518579 rows in 46298 pages for object "FctTrans200409". DBCC results for 'FctTender200806'. There are 0 rows in 0 pages for object "FctTender200806". DBCC results for 'FctTrans200410'. There are 4030716 rows in 53036 pages for object "FctTrans200410". DBCC results for 'AggFctInventory200708'. There are 39462282 rows in 352344 pages for object "AggFctInventory200708". DBCC results for 'FctPurchases200606'. There are 73648 rows in 7365 pages for object "FctPurchases200606". DBCC results for 'FctTender200709'. There are 36556657 rows in 599290 pages for object "FctTender200709". DBCC results for 'FctTender200511'. There are 33620449 rows in 551158 pages for object "FctTender200511". DBCC results for 'FctTrans200411'. There are 4247042 rows in 55883 pages for object "FctTrans200411". DBCC results for 'FctInventory'. There are 0 rows in 1 pages for object "FctInventory". DBCC results for 'FctTenderBridge200801'. There are 17369173 rows in 45116 pages for object "FctTenderBridge200801". DBCC results for 'FctTender200710'. There are 38549430 rows in 631958 pages for object "FctTender200710". DBCC results for 'FctTenderBridge200802'. There are 0 rows in 0 pages for object "FctTenderBridge200802". DBCC results for 'FctTender200510'. There are 34910026 rows in 572297 pages for object "FctTender200510". DBCC results for 'FctTrans200412'. There are 4670468 rows in 61454 pages for object "FctTrans200412". DBCC results for 'FctPurchases200605'. There are 75207 rows in 7521 pages for object "FctPurchases200605". DBCC results for 'vw_DimCashier'. There are 60954 rows in 3854 pages for object "vw_DimCashier". DBCC results for 'FctTenderBridge200803'. There are 0 rows in 0 pages for object "FctTenderBridge200803". DBCC results for 'AggFctInventory200702'. There are 32915438 rows in 293889 pages for object "AggFctInventory200702". DBCC results for 'FctTender200711'. There are 37127176 rows in 608643 pages for object "FctTender200711". DBCC results for 'FctTenderBridge200804'. There are 0 rows in 0 pages for object "FctTenderBridge200804". DBCC results for 'FctTender200509'. There are 34091198 rows in 558875 pages for object "FctTender200509". DBCC results for 'grand_general_upcs'. There are 2956 rows in 56 pages for object "grand_general_upcs". DBCC results for 'DimPromo'. There are 5608 rows in 110 pages for object "DimPromo". DBCC results for 'FctTenderBridge200805'. There are 0 rows in 0 pages for object "FctTenderBridge200805". DBCC results for 'FctPurchasesDetail200606'. There are 1540935 rows in 51365 pages for object "FctPurchasesDetail200606". DBCC results for 'FctInventory200701'. There are 35703489 rows in 476319 pages for object "FctInventory200701". DBCC results for 'FctTender200712'. There are 36607032 rows in 600116 pages for object "FctTender200712". DBCC results for 'FctTenderBridge200806'. There are 0 rows in 0 pages for object "FctTenderBridge200806". DBCC results for 'FctTenderBridge200512'. There are 22697922 rows in 58960 pages for object "FctTenderBridge200512". DBCC results for 'fcttrans200801_ORGINAL'. There are 15742397 rows in 243502 pages for object "fcttrans200801_ORGINAL". DBCC results for 'FctTenderBridge200511'. There are 22234576 rows in 57753 pages for object "FctTenderBridge200511". DBCC results for 'DimBusinessDate'. There are 2191 rows in 29 pages for object "DimBusinessDate". DBCC results for 'FctInventory200702'. There are 32931632 rows in 434210 pages for object "FctInventory200702". DBCC results for 'FctTenderBridge200707'. There are 26199605 rows in 68051 pages for object "FctTenderBridge200707". DBCC results for 'FctTrans200802'. There are 0 rows in 0 pages for object "FctTrans200802". DBCC results for 'FctTenderBridge200510'. There are 23028341 rows in 59816 pages for object "FctTenderBridge200510". DBCC results for 'FctPurchasesDetail200605'. There are 1498862 rows in 49963 pages for object "FctPurchasesDetail200605". DBCC results for 'FctTenderBridge200708'. There are 25724739 rows in 66819 pages for object "FctTenderBridge200708". DBCC results for 'FctTrans200803'. There are 0 rows in 0 pages for object "FctTrans200803". DBCC results for 'FctTenderBridge200509'. There are 22528117 rows in 58519 pages for object "FctTenderBridge200509". DBCC results for 'FctInventory200703'. There are 38252048 rows in 503846 pages for object "FctInventory200703". DBCC results for 'FctTenderBridge200709'. There are 24633845 rows in 63985 pages for object "FctTenderBridge200709". DBCC results for 'FctTrans200804'. There are 0 rows in 0 pages for object "FctTrans200804". DBCC results for 'vw_FctItemFctTender200612'. There are 55519368 rows in 1038161 pages for object "vw_FctItemFctTender200612". DBCC results for 'FctMarketBasket200608'. There are 13460138 rows in 128192 pages for object "FctMarketBasket200608". DBCC results for 'FctTenderBridge200710'. There are 26089474 rows in 67768 pages for object "FctTenderBridge200710". DBCC results for 'FctTrans200805'. There are 0 rows in 0 pages for object "FctTrans200805". DBCC results for 'vw_FctItemFctTender200609'. There are 56443335 rows in 1007583 pages for object "vw_FctItemFctTender200609". DBCC results for 'FctPurchasesDetail200604'. There are 1344523 rows in 44818 pages for object "FctPurchasesDetail200604". DBCC results for 'FctTender'. There are 0 rows in 3 pages for object "FctTender". DBCC results for 'FctItem200701'. There are 56257582 rows in 1221460 pages for object "FctItem200701". DBCC results for 'FctMarketBasket200607'. There are 13176166 rows in 125488 pages for object "FctMarketBasket200607". DBCC results for 'FctTenderBridge200711'. There are 25288645 rows in 65686 pages for object "FctTenderBridge200711". DBCC results for 'FctTrans200806'. There are 0 rows in 0 pages for object "FctTrans200806". DBCC results for 'vw_FctItemFctTender200608'. Indexed view check failed for indexed view 'vw_FctItemFctTender200608' (object ID 1037246750) due to internal query error 5242, severity 16, state 1. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. However, this view will not be processed further. There are 62321634 rows in 1112544 pages for object "vw_FctItemFctTender200608". DBCC results for 'FctItem200702'. There are 54195455 rows in 1188990 pages for object "FctItem200702". DBCC results for 'FctMarketBasket200606'. There are 12736966 rows in 121309 pages for object "FctMarketBasket200606". DBCC results for 'FctTenderBridge200712'. There are 24916963 rows in 64721 pages for object "FctTenderBridge200712". DBCC results for 'vw_FctItemFctTender200607'. There are 63641670 rows in 1097729 pages for object "vw_FctItemFctTender200607". DBCC results for 'FctItem200703'. There are 62038035 rows in 1346826 pages for object "FctItem200703". DBCC results for 'FctMarketBasket200605'. There are 12201466 rows in 116209 pages for object "FctMarketBasket200605". DBCC results for 'FctTrans200707'. There are 43190400 rows in 668168 pages for object "FctTrans200707". DBCC results for 'vw_FctItemFctTender200606'. Indexed view check failed for indexed view 'vw_FctItemFctTender200606' (object ID 1069246864) due to internal query error 5242, severity 16, state 1. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. However, this view will not be processed further. There are 60310390 rows in 1040058 pages for object "vw_FctItemFctTender200606". DBCC results for 'FctPurchases200604'. There are 67935 rows in 6794 pages for object "FctPurchases200604". DBCC results for 'FctMarketBasket200604'. There are 11140002 rows in 106099 pages for object "FctMarketBasket200604". DBCC results for 'FctTrans200708'. There are 43396612 rows in 671294 pages for object "FctTrans200708". DBCC results for 'vw_FctItemFctTender200605'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200605' (object ID 1085246921) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 55705251 rows in 960564 pages for object "vw_FctItemFctTender200605". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctItemFctTender200605' (object ID 1085246921). DBCC results for 'FCTInventoryWaste200509'. There are 0 rows in 0 pages for object "FCTInventoryWaste200509". DBCC results for 'FctMarketBasket200603'. There are 11861292 rows in 112968 pages for object "FctMarketBasket200603". DBCC results for 'FctTrans200709'. There are 33951188 rows in 524909 pages for object "FctTrans200709". DBCC results for 'vw_FctItemFctTender200604'. Msg 8907, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200604' (object ID 1101246978) contains rows not produced by the view definition. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 55331833 rows in 959978 pages for object "vw_FctItemFctTender200604". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctItemFctTender200604' (object ID 1101246978). DBCC results for 'FCTInventoryWaste200510'. There are 0 rows in 0 pages for object "FCTInventoryWaste200510". DBCC results for 'DimPriceBookPromo'. There are 118230 rows in 1104 pages for object "DimPriceBookPromo". DBCC results for 'FctMarketBasket200602'. There are 9858833 rows in 93897 pages for object "FctMarketBasket200602". DBCC results for 'FctTrans200710'. There are 33485504 rows in 517574 pages for object "FctTrans200710". DBCC results for 'vw_FctItemFctTender200603'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200603' (object ID 1117247035) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 56649889 rows in 976726 pages for object "vw_FctItemFctTender200603". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctItemFctTender200603' (object ID 1117247035). DBCC results for 'FCTInventoryWaste200511'. There are 0 rows in 0 pages for object "FCTInventoryWaste200511". DBCC results for 'vw_DimItemAccount'. There are 10 rows in 1 pages for object "vw_DimItemAccount". DBCC results for 'FctPurchases200603'. There are 73862 rows in 7387 pages for object "FctPurchases200603". DBCC results for 'FctPurchases200701'. There are 81741 rows in 8175 pages for object "FctPurchases200701". DBCC results for 'FctMarketBasket200601'. There are 10775055 rows in 102623 pages for object "FctMarketBasket200601". DBCC results for 'FctTrans200711'. There are 32895965 rows in 508494 pages for object "FctTrans200711". DBCC results for 'vw_FctItemFctTender200602'. There are 47477589 rows in 818580 pages for object "vw_FctItemFctTender200602". DBCC results for 'FCTInventoryWaste200512'. There are 0 rows in 0 pages for object "FCTInventoryWaste200512". DBCC results for 'FctInventoryOverShort200704'. There are 22221 rows in 2332 pages for object "FctInventoryOverShort200704". DBCC results for 'FctTrans200712'. There are 32819820 rows in 507497 pages for object "FctTrans200712". DBCC results for 'vw_FctItemFctTender200601'. Msg 8907, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200601' (object ID 1149247149) contains rows not produced by the view definition. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200601' (object ID 1149247149) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 50796714 rows in 875806 pages for object "vw_FctItemFctTender200601". CHECKDB found 0 allocation errors and 2 consistency errors in table 'vw_FctItemFctTender200601' (object ID 1149247149). DBCC results for 'FCTInventoryWaste200601'. There are 13947 rows in 1163 pages for object "FCTInventoryWaste200601". DBCC results for 'FctInventoryOverShort200705'. There are 25592 rows in 2432 pages for object "FctInventoryOverShort200705". DBCC results for 'vw_FctItemFctTender200512'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctItemFctTender200512' (object ID 1165247206) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 54301932 rows in 936241 pages for object "vw_FctItemFctTender200512". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctItemFctTender200512' (object ID 1165247206). DBCC results for 'FCTInventoryWaste200602'. There are 12009 rows in 1001 pages for object "FCTInventoryWaste200602". DBCC results for 'vw_DimScenario'. There are 2 rows in 1 pages for object "vw_DimScenario". DBCC results for 'FctPurchasesDetail200603'. There are 1475591 rows in 49187 pages for object "FctPurchasesDetail200603". DBCC results for 'FctInventoryOverShort200706'. There are 27514 rows in 2620 pages for object "FctInventoryOverShort200706". DBCC results for 'FctPurchases200702'. There are 76123 rows in 7613 pages for object "FctPurchases200702". DBCC results for 'vw_FctItemFctTender200511'. Indexed view check failed for indexed view 'vw_FctItemFctTender200511' (object ID 1181247263) due to internal query error 5242, severity 16, state 1. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. However, this view will not be processed further. There are 52659454 rows in 907922 pages for object "vw_FctItemFctTender200511". DBCC results for 'FCTInventoryWaste200603'. There are 13039 rows in 1087 pages for object "FCTInventoryWaste200603". DBCC results for 'vw_DimTransAccount'. There are 23 rows in 1 pages for object "vw_DimTransAccount". DBCC results for 'vw_FctItemFctTender200510'. There are 54368234 rows in 937384 pages for object "vw_FctItemFctTender200510". DBCC results for 'FCTInventoryWaste200604'. There are 11613 rows in 968 pages for object "FCTInventoryWaste200604". DBCC results for 'AggFctInventory200609'. There are 30397051 rows in 241247 pages for object "AggFctInventory200609". DBCC results for 'FCTInventoryWaste200605'. There are 12187 rows in 1016 pages for object "FCTInventoryWaste200605". DBCC results for 'AggFctInventory200704'. There are 37649918 rows in 336162 pages for object "AggFctInventory200704". DBCC results for 'FctPurchasesDetail200602'. There are 1254092 rows in 41804 pages for object "FctPurchasesDetail200602". DBCC results for 'FctPurchases200703'. There are 85893 rows in 8590 pages for object "FctPurchases200703". DBCC results for 'FCTInventoryWaste200606'. There are 11818 rows in 985 pages for object "FCTInventoryWaste200606". DBCC results for 'FctTenderBridge'. There are 0 rows in 1 pages for object "FctTenderBridge". DBCC results for 'FCTInventoryWaste200607'. There are 12518 rows in 1044 pages for object "FCTInventoryWaste200607". DBCC results for 'FctItem200601'. There are 52533515 rows in 1140810 pages for object "FctItem200601". DBCC results for 'FctBudget'. There are 17450650 rows in 248677 pages for object "FctBudget". DBCC results for 'FCTInventoryWaste200608'. There are 13150 rows in 1096 pages for object "FCTInventoryWaste200608". DBCC results for 'FctPurchases200602'. There are 64427 rows in 6443 pages for object "FctPurchases200602". DBCC results for 'FctPurchasesDetail200701'. There are 1534839 rows in 51162 pages for object "FctPurchasesDetail200701". DBCC results for 'FctItem200606'. There are 62724410 rows in 1391801 pages for object "FctItem200606". DBCC results for 'vw_FctItem200612'. There are 52130481 rows in 1133272 pages for object "vw_FctItem200612". DBCC results for 'FCTInventoryWaste200609'. There are 12481 rows in 1041 pages for object "FCTInventoryWaste200609". DBCC results for 'AggFctInventory200610'. There are 34001457 rows in 269853 pages for object "AggFctInventory200610". DBCC results for 'FctTrans200606'. There are 38400926 rows in 640654 pages for object "FctTrans200606". DBCC results for 'FCTInventoryWaste200610'. There are 13520 rows in 1127 pages for object "FCTInventoryWaste200610". DBCC results for 'vw_FctItemFctTender200610'. Indexed view check failed for indexed view 'vw_FctItemFctTender200610' (object ID 1305771709) due to internal query error 5242, severity 16, state 1. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. However, this view will not be processed further. There are 57939653 rows in 1033756 pages for object "vw_FctItemFctTender200610". DBCC results for 'AggFctInventory200612'. There are 35384669 rows in 280831 pages for object "AggFctInventory200612". DBCC results for 'FCTInventoryWaste200611'. There are 13381 rows in 1116 pages for object "FCTInventoryWaste200611". DBCC results for 'FctPurchasesDetail200601'. There are 1338455 rows in 44616 pages for object "FctPurchasesDetail200601". DBCC results for 'vw_DimPriceBookPromo'. There are 118229 rows in 1895 pages for object "vw_DimPriceBookPromo". DBCC results for 'FctPurchasesDetail200702'. There are 1488946 rows in 49632 pages for object "FctPurchasesDetail200702". DBCC results for 'vw_TicketInternalKey200612'. There are 22346428 rows in 69265 pages for object "vw_TicketInternalKey200612". DBCC results for 'vw_FctBudget'. There are 7888015 rows in 144737 pages for object "vw_FctBudget". DBCC results for 'FCTInventoryWaste200612'. There are 15684 rows in 1307 pages for object "FCTInventoryWaste200612". DBCC results for 'vw_TicketInternalKey200609'. There are 22601520 rows in 69974 pages for object "vw_TicketInternalKey200609". DBCC results for 'FCTInventoryWaste200701'. There are 17266 rows in 1439 pages for object "FCTInventoryWaste200701". DBCC results for 'vw_TicketInternalKey200608'. There are 24686521 rows in 76429 pages for object "vw_TicketInternalKey200608". DBCC results for 'FCTInventoryWaste200702'. There are 14803 rows in 1234 pages for object "FCTInventoryWaste200702". DBCC results for 'FctPurchasesDetail200512'. There are 1434370 rows in 47813 pages for object "FctPurchasesDetail200512". DBCC results for 'FctPurchasesDetail200703'. There are 1650558 rows in 55020 pages for object "FctPurchasesDetail200703". DBCC results for 'vw_TicketInternalKey200607'. Msg 8907, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_TicketInternalKey200607' (object ID 1369771937) contains rows not produced by the view definition. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 24698391 rows in 76466 pages for object "vw_TicketInternalKey200607". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_TicketInternalKey200607' (object ID 1369771937). DBCC results for 'FCTInventoryWaste200703'. There are 16608 rows in 1384 pages for object "FCTInventoryWaste200703". DBCC results for 'vw_TicketInternalKey200606'. There are 23769033 rows in 73589 pages for object "vw_TicketInternalKey200606". DBCC results for 'Staging_FOCUSITEMS_ByVendor'. There are 21777 rows in 921 pages for object "Staging_FOCUSITEMS_ByVendor". DBCC results for 'AggFctInventory200802'. There are 0 rows in 0 pages for object "AggFctInventory200802". DBCC results for 'AggFctInventory200607'. There are 33035231 rows in 262184 pages for object "AggFctInventory200607". DBCC results for 'FCTInventoryWaste200704'. There are 16125 rows in 1344 pages for object "FCTInventoryWaste200704". DBCC results for 'vw_TicketInternalKey200605'. There are 22425315 rows in 69429 pages for object "vw_TicketInternalKey200605". DBCC results for 'AggFctInventory200803'. There are 0 rows in 0 pages for object "AggFctInventory200803". DBCC results for 'FCTInventoryWaste200705'. There are 16463 rows in 1372 pages for object "FCTInventoryWaste200705". DBCC results for 'FctPurchases200512'. There are 73225 rows in 7323 pages for object "FctPurchases200512". DBCC results for 'FctMarketBasket200701'. There are 12107517 rows in 115310 pages for object "FctMarketBasket200701". DBCC results for 'vw_TicketInternalKey200604'. There are 22166578 rows in 68937 pages for object "vw_TicketInternalKey200604". DBCC results for 'AggFctInventory200804'. There are 0 rows in 0 pages for object "AggFctInventory200804". DBCC results for 'AggFctInventory200608'. There are 33151524 rows in 263107 pages for object "AggFctInventory200608". DBCC results for 'FCTInventoryWaste200706'. There are 16117 rows in 1344 pages for object "FCTInventoryWaste200706". DBCC results for 'FctMarketBasket200702'. There are 11214976 rows in 106810 pages for object "FctMarketBasket200702". DBCC results for 'vw_TicketInternalKey200603'. There are 22886943 rows in 70858 pages for object "vw_TicketInternalKey200603". DBCC results for 'AggFctInventory200805'. There are 0 rows in 0 pages for object "AggFctInventory200805". DBCC results for 'FctInventoryWasteDetail200509'. There are 0 rows in 0 pages for object "FctInventoryWasteDetail200509". DBCC results for 'FctMarketBasket200703'. There are 12761633 rows in 121540 pages for object "FctMarketBasket200703". DBCC results for 'FctInventory200704'. There are 37695453 rows in 523551 pages for object "FctInventory200704". DBCC results for 'vw_TicketInternalKey200602'. There are 19189009 rows in 59409 pages for object "vw_TicketInternalKey200602". DBCC results for 'FctItem200608'. There are 64855844 rows in 1457417 pages for object "FctItem200608". DBCC results for 'AggFctInventory200806'. There are 0 rows in 0 pages for object "AggFctInventory200806". DBCC results for 'FctInventoryWasteDetail200510'. There are 0 rows in 0 pages for object "FctInventoryWasteDetail200510". DBCC results for 'FctPurchases200511'. There are 70537 rows in 7054 pages for object "FctPurchases200511". DBCC results for 'FctTender200701'. There are 34225526 rows in 561075 pages for object "FctTender200701". DBCC results for 'vw_TicketInternalKey200601'. There are 20660832 rows in 63966 pages for object "vw_TicketInternalKey200601". DBCC results for 'FctTrans200608'. There are 39789289 rows in 653515 pages for object "FctTrans200608". DBCC results for 'vw_FctTransFctTender200609'. There are 23083511 rows in 378604 pages for object "vw_FctTransFctTender200609". DBCC results for 'FctInventory200801'. There are 29905699 rows in 523773 pages for object "FctInventory200801". DBCC results for 'FctInventoryWasteDetail200511'. There are 0 rows in 0 pages for object "FctInventoryWasteDetail200511". DBCC results for 'DimTill'. There are 16 rows in 1 pages for object "DimTill". DBCC results for 'FctInventory200705'. There are 38970106 rows in 541256 pages for object "FctInventory200705". DBCC results for 'vw_TicketInternalKey200512'. There are 21779722 rows in 67430 pages for object "vw_TicketInternalKey200512". DBCC results for 'vw_FctTransFctTender200608'. There are 25207905 rows in 435214 pages for object "vw_FctTransFctTender200608". DBCC results for 'vw_FctTransFctTender200610'. There are 23766888 rows in 389807 pages for object "vw_FctTransFctTender200610". DBCC results for 'FctInventoryWasteDetail200512'. There are 0 rows in 0 pages for object "FctInventoryWasteDetail200512". DBCC results for 'FctTender200702'. There are 32671979 rows in 535607 pages for object "FctTender200702". DBCC results for 'vw_TicketInternalKey200511'. There are 21311948 rows in 65982 pages for object "vw_TicketInternalKey200511". DBCC results for 'vw_FctTransFctTender200607'. There are 25234186 rows in 442871 pages for object "vw_FctTransFctTender200607". DBCC results for 'FctInventory200802'. There are 0 rows in 0 pages for object "FctInventory200802". DBCC results for 'AggFctInventoryReview'. There are 958840 rows in 7611 pages for object "AggFctInventoryReview". DBCC results for 'FctInventoryWasteDetail200601'. There are 128704 rows in 10726 pages for object "FctInventoryWasteDetail200601". DBCC results for 'FctPurchasesDetail200511'. There are 1409930 rows in 46998 pages for object "FctPurchasesDetail200511". DBCC results for 'FctInventory200706'. There are 38252109 rows in 531284 pages for object "FctInventory200706". DBCC results for 'vw_TicketInternalKey200510'. There are 22062804 rows in 68306 pages for object "vw_TicketInternalKey200510". DBCC results for 'DimCashierScoreCardMetric_01162007'. There are 46 rows in 16 pages for object "DimCashierScoreCardMetric_01162007". DBCC results for 'AggFctInventory200711'. There are 39850504 rows in 355810 pages for object "AggFctInventory200711". DBCC results for 'FctInventoryWasteDetail200602'. There are 112303 rows in 9359 pages for object "FctInventoryWasteDetail200602". DBCC results for 'FctTender200703'. There are 36122249 rows in 592169 pages for object "FctTender200703". DBCC results for 'vw_TicketInternalKey200509'. There are 21589065 rows in 66840 pages for object "vw_TicketInternalKey200509". DBCC results for 'AggFctInventory200801'. There are 29441137 rows in 262868 pages for object "AggFctInventory200801". DBCC results for 'vw_FctTransFctTender200606'. There are 24283086 rows in 426176 pages for object "vw_FctTransFctTender200606". DBCC results for 'DimCashierScoreCardMetric_orig'. There are 44 rows in 15 pages for object "DimCashierScoreCardMetric_orig". DBCC results for 'FctInventory200803'. There are 0 rows in 0 pages for object "FctInventory200803". DBCC results for 'FctInventoryWasteDetail200603'. There are 127779 rows in 10649 pages for object "FctInventoryWasteDetail200603". DBCC results for 'FctItem200610'. There are 60162067 rows in 1305938 pages for object "FctItem200610". DBCC results for 'FctItem'. There are 0 rows in 1 pages for object "FctItem". DBCC results for 'FctInventoryDetailOverShort200704'. There are 1484083 rows in 46481 pages for object "FctInventoryDetailOverShort200704". DBCC results for 'vw_FctTransFctTender200605'. Msg 8907, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200605' (object ID 1549248574) contains rows not produced by the view definition. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200605' (object ID 1549248574) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 22888622 rows in 401040 pages for object "vw_FctTransFctTender200605". CHECKDB found 0 allocation errors and 2 consistency errors in table 'vw_FctTransFctTender200605' (object ID 1549248574). DBCC results for 'FctTrans200801'. There are 22806016 rows in 352545 pages for object "FctTrans200801". DBCC results for 'FctInventoryWasteDetail200604'. There are 115408 rows in 9618 pages for object "FctInventoryWasteDetail200604". DBCC results for 'FctPurchasesDetail200510'. There are 1368026 rows in 45601 pages for object "FctPurchasesDetail200510". DBCC results for 'FctItem200611'. There are 58588889 rows in 1271737 pages for object "FctItem200611". DBCC results for 'FctTenderBridge200701'. There are 23067465 rows in 59916 pages for object "FctTenderBridge200701". DBCC results for 'FctInventoryDetailOverShort200705'. There are 1517066 rows in 48130 pages for object "FctInventoryDetailOverShort200705". DBCC results for 'vw_FctTransFctTender200604'. There are 22618689 rows in 396964 pages for object "vw_FctTransFctTender200604". DBCC results for 'FctItem200801'. There are 41208843 rows in 894225 pages for object "FctItem200801". DBCC results for 'FctInventory200804'. There are 0 rows in 0 pages for object "FctInventory200804". DBCC results for 'FctInventoryWasteDetail200605'. There are 123662 rows in 10306 pages for object "FctInventoryWasteDetail200605". DBCC results for 'FctItem200612'. There are 58947898 rows in 1279917 pages for object "FctItem200612". DBCC results for 'FctTenderBridge200702'. There are 21954795 rows in 57026 pages for object "FctTenderBridge200702". DBCC results for 'FctInventoryDetailOverShort200706'. There are 1340892 rows in 43708 pages for object "FctInventoryDetailOverShort200706". DBCC results for 'FctInventory200707'. There are 39662660 rows in 561343 pages for object "FctInventory200707". DBCC results for 'vw_FctTransFctTender200603'. There are 23344796 rows in 409706 pages for object "vw_FctTransFctTender200603". DBCC results for 'FctInventoryWasteDetail200606'. There are 115162 rows in 9597 pages for object "FctInventoryWasteDetail200606". DBCC results for 'FctMarketBasket200610'. There are 12762686 rows in 121550 pages for object "FctMarketBasket200610". DBCC results for 'FctTenderBridge200703'. There are 24276224 rows in 63057 pages for object "FctTenderBridge200703". DBCC results for 'vw_FctTransFctTender200602'. There are 19578204 rows in 343603 pages for object "vw_FctTransFctTender200602". DBCC results for 'FctInventory200805'. There are 0 rows in 0 pages for object "FctInventory200805". DBCC results for 'FctInventoryWasteDetail200607'. There are 122175 rows in 10182 pages for object "FctInventoryWasteDetail200607". DBCC results for 'FctPurchases200510'. There are 70660 rows in 7066 pages for object "FctPurchases200510". DBCC results for 'FctMarketBasket200611'. There are 13561902 rows in 129161 pages for object "FctMarketBasket200611". DBCC results for 'FctTrans200701'. There are 36465522 rows in 564690 pages for object "FctTrans200701". DBCC results for 'FctInventory200708'. There are 39701544 rows in 616017 pages for object "FctInventory200708". DBCC results for 'vw_FctTransFctTender200601'. Msg 8907, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200601' (object ID 1613248802) contains rows not produced by the view definition. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 21061710 rows in 369635 pages for object "vw_FctTransFctTender200601". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctTransFctTender200601' (object ID 1613248802). DBCC results for 'FctInventoryWasteDetail200608'. There are 121127 rows in 10094 pages for object "FctInventoryWasteDetail200608". DBCC results for 'FctMarketBasket200612'. There are 12860503 rows in 122481 pages for object "FctMarketBasket200612". DBCC results for 'FctTrans200702'. There are 33238975 rows in 514737 pages for object "FctTrans200702". DBCC results for 'AggFctCashierScoreCard200701'. There are 1434201 rows in 11952 pages for object "AggFctCashierScoreCard200701". DBCC results for 'vw_FctTransFctTender200512'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200512' (object ID 1629248859) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 22210120 rows in 389795 pages for object "vw_FctTransFctTender200512". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctTransFctTender200512' (object ID 1629248859). DBCC results for 'FctInventory200806'. There are 0 rows in 0 pages for object "FctInventory200806". DBCC results for 'FctInventoryWasteDetail200609'. There are 115143 rows in 9596 pages for object "FctInventoryWasteDetail200609". DBCC results for 'FctInventory200610'. There are 34233332 rows in 461211 pages for object "FctInventory200610". DBCC results for 'FctTrans200703'. There are 39713913 rows in 614538 pages for object "FctTrans200703". DBCC results for 'FctItem200704'. There are 60365747 rows in 1310370 pages for object "FctItem200704". DBCC results for 'AggFctCashierScoreCard200702'. There are 1214541 rows in 10122 pages for object "AggFctCashierScoreCard200702". DBCC results for 'FctInventory200709'. There are 38675506 rows in 545787 pages for object "FctInventory200709". DBCC results for 'vw_FctTransFctTender200511'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200511' (object ID 1645248916) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 21730576 rows in 381381 pages for object "vw_FctTransFctTender200511". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctTransFctTender200511' (object ID 1645248916). DBCC results for 'FctInventoryWasteDetail200610'. There are 125323 rows in 10444 pages for object "FctInventoryWasteDetail200610". DBCC results for 'FctPurchases200509'. There are 72751 rows in 7276 pages for object "FctPurchases200509". DBCC results for 'FctItem200705'. There are 65959516 rows in 1445243 pages for object "FctItem200705". DBCC results for 'AggFctCashierScoreCard200703'. There are 1406685 rows in 11723 pages for object "AggFctCashierScoreCard200703". DBCC results for 'vw_FctTransFctTender200510'. Msg 8908, Level 16, State 1, Server KNXPNAETLSQL2005, Line 1 Indexed view 'vw_FctTransFctTender200510' (object ID 1661248973) does not contain all rows that the view definition produces. Refer to Books Online for more information on this error. This does not necessarily represent an integrity issue with the data in this database. There are 22504065 rows in 394958 pages for object "vw_FctTransFctTender200510". CHECKDB found 0 allocation errors and 1 consistency errors in table 'vw_FctTransFctTender200510' (object ID 1661248973). DBCC results for 'FctInventoryDetailOverShort200801'. There are 1040806 rows in 24007 pages for object "FctInventoryDetailOverShort200801". DBCC results for 'FctMarketBasketFuel200612'. There are 6121409 rows in 65822 pages for object "FctMarketBasketFuel200612". DBCC results for 'AggFctInventory200707'. There are 39662300 rows in 354130 pages for object "AggFctInventory200707". DBCC results for 'FctInventoryWasteDetail200611'. There are 122336 rows in 10195 pages for object "FctInventoryWasteDetail200611". DBCC results for 'FctInventory200611'. There are 33667100 rows in 438313 pages for object "FctInventory200611". DBCC results for 'FctItem200706'. There are 67926976 rows in 1474350 pages for object "FctItem200706". DBCC results for 'AggFctCashierScoreCard200704'. There are 2087657 rows in 17398 pages for object "AggFctCashierScoreCard200704". DBCC results for 'TempMTDDailyMCheckDate'. There are 16359 rows in 46 pages for object "TempMTDDailyMCheckDate". DBCC results for 'FctInventory200710'. There are 40550644 rows in 574700 pages for object "FctInventory200710". DBCC results for 'vw_FctTransFctTender200509'. There are 22017622 rows in 386422 pages for object "vw_FctTransFctTender200509". DBCC results for 'FctInventoryDetailOverShort200802'. There are 0 rows in 0 pages for object "FctInventoryDetailOverShort200802". DBCC results for 'FctInventoryWasteDetail200612'. There are 178662 rows in 15465 pages for object "FctInventoryWasteDetail200612". DBCC results for 'FctMarketBasket200704'. There are 12611156 rows in 120107 pages for object "FctMarketBasket200704". DBCC results for 'AggFctCashierScoreCard200705'. There are 1442440 rows in 12021 pages for object "AggFctCashierScoreCard200705". DBCC results for 'AggFctInventory200701'. There are 35666434 rows in 318452 pages for object "AggFctInventory200701". DBCC results for 'TempMTDDailyCheck'. There are 605 rows in 5 pages for object "TempMTDDailyCheck". DBCC results for 'FctInventoryDetailOverShort200803'. There are 0 rows in 0 pages for object "FctInventoryDetai
I have a table where I store around 1 million rows for 7 days.I run a DBCC SHOWCONTIG every week and I noticed that the number ofRows and the Average Free Bytes are stable but the number of Extentsand the Average Record Size keeps increasing.Any idea how to explain this incrase? and how to stop it? Will DBCCDBREINDEX will help?Here is my data:Rows: 1166273 (same as last week)Extents: 147099 (+10% since last week)Max RecordSize: 7050Average Record Size: 7688 (+10% since last week)AverageFreeBytes: 372Average Page Density: 95Scan density: 30
I recently encountered what will appear to me as a very strange problem with my packages involving data import from an Oracle 10g database. The packages are simple data imports which select and insert data from Oracle to SQLServer 2005 tables.
Till recently, the packages ran without any problems but a day ago, these packages starts to fail when nothing was changed in them. They will run for about 8 minutes, at which approximately 400,000 records will be selected and processed. After that these packages will fail. The failure rate is inconsistent in the sense that some of these packages will fail while some will pass, depending on the 'mood' of SSIS.
These packages are using Oracle's supplied OLE DB drivers and have been running well since day 1. Should I be concerned with Oracle terminating connection after 'x' minutes something like that?
I'm absolutely puzzled with these behavior and will appreciate it if someone can point me to the right direction. This server is a 64 bit server and SQL Server is installed as 64 bit as well.
At the very end of the flat file there is a partial row. The second package raises an error when it finds this row. However, pkg1 does not. It runs perfectly every morning.
[Flat File Source [799]] Warning: There is a partial row at the end of the file.
If I remove the row, of course it works. But I don't have the option of removing this row.
So my questions are, 1) why does the first pkg1 not raise an error on this row?
2) how can I redirect bad rows to another location, or skip them completely, as in this case?
CREATE TABLE Bank ( BankName varchar(80), City varchar(80) NOT NULL, Accounts int CHECK (Accounts > 0) NOT NULL, BankSecurity varchar(80) CHECK(BankSecurity in ('weak','good','very good','excellent')), PRIMARY KEY (BankName, City) );
CREATE TABLE Bank_Temp ( BankName varchar(80), City varchar(80) NOT NULL, Accounts int CHECK (Accounts > 0) NOT NULL, BankSecurity varchar(80) CHECK(BankSecurity in ('weak','good','very good','excellent')), PRIMARY KEY (BankName, City) );
BULK INSERT Bank_Temp FROM N'C:UsersacheryDocumentsSQLPSQLProj1ank_07.data'; INSERT INTO Bank SELECT * FROM Bank_Temp; GO I'm from a PostgresSQL background, and perhaps the problem is that I'm not thinking about this properly...
I'm trying to bulk insert into Bank_Temp from the file, then transfer the table verbatim over to Bank
Results in the error: Msg 547, Level 16, State 0, Line 1 The INSERT statement conflicted with the CHECK constraint "CK__Bank__BankSecuri__7E6CC920". The conflict occurred in database "Robbers", table "dbo.Bank", column 'BankSecurity'. The statement has been terminated.
Any idea what's happening here? Bank_Temp and Bank have the exact same structure, how is it possible for the check constraint to conflict? As far as I can tell, there are no spaces at the end of the rows in the text file, and no spaces at the beginning. All columns are seperated by one tab only.
Code Block
SELECT * FROM Bank_Temp WHERE BankSecurity in ('weak','good','very good','excellent');
-- Results in:
Bankrupt Bank Evanston 444000 weak Inter-Gang Bank Chicago 100000 excellent Hidden Treasure Chicago 999999 excellent Loanshark Bank Chicago 121212 excellent NXP Bank Chicago 1593311 very good NXP Bank Evanston 656565 excellent Penny Pinchers Evanston 130013 excellent
Code Block
SELECT * FROM Bank_Temp WHERE BankSecurity not in ('weak','good','very good','excellent'); GO
-- Results in:
Dollar Grabbers Evanston 909090 good Inter-Gang Bank Evanston 555555 excellent Loanshark Bank Evanston 7654321 excellent Penny Pinchers Chicago 156165 weak Dollar Grabbers Chicago 56005 very good Gun Chase Bank Deerfield 1999 weak Gun Chase Bank Evanston 656565 excellent Loanshark Bank Deerfield 3456789 very good PickPocket Bank Chicago 130013 weak PickPocket Bank Deerfield 6565 excellent PickPocket Bank Evanston 2000 very good
Code Block - File: bank_07.data (edited in notepad)
NXP Bank Chicago 1593311 very good Bankrupt Bank Evanston 444000 weak Loanshark Bank Evanston 7654321 excellent Loanshark Bank Deerfield 3456789 very good Loanshark Bank Chicago 121212 excellent Inter-Gang Bank Chicago 100000 excellent Inter-Gang Bank Evanston 555555 excellent NXP Bank Evanston 656565 excellent Penny Pinchers Chicago 156165 weak Dollar Grabbers Chicago 56005 very good Penny Pinchers Evanston 130013 excellent Dollar Grabbers Evanston 909090 good Gun Chase Bank Evanston 656565 excellent Gun Chase Bank Deerfield 1999 weak PickPocket Bank Evanston 2000 very good PickPocket Bank Deerfield 6565 excellent PickPocket Bank Chicago 130013 weak Hidden Treasure Chicago 999999 excellent
Hi experts. I would like to ask for this error that I've encountered
(Error msg) Msg 5242, Level 22, State 1, Line 1 An inconsistency was detected during an internal operation in database 'smartapp'(ID:9) on page (1:28827). Please contact technical support. Reference number 7.
hi Friends... I have got a ordermaster table in which the orderid field is autoincremental.Now I also have an Ordercode field which is a combination of [current (orderid)-LICON)] eg 1-LICON .. I achieve this using the following query ... insert into ordermaster(ordercode,orderamt,orderdate) select cast(max(orderid)+1 as varchar)+'-LICON' as ordercode,1000,'3/6/2004' from ordermaster
But I think the above query could lead to an inconsistent state ....If say following occurs :
1) USER1 reads max orderid as 1 2) User2 also reads max orderid as 1 3)USER 1 inserts record with ordercode as 2-LICON. 4)USER 2 will also insert record for ordercode as 2-LICON since max orderid read by USER2 is also the same as USER1.
How do I avoid this....I know I there are LOcktypes. But aren't locktypes used when we are updating same records....
Please help me out .I really need help in ths context
An inconsistency was detected during an internal operation in database 'LocalLab2000'(ID:5) on page (1:19992). Please contact technical support. Reference number 5.
I ran DBCC CHECKDB ('locallab2000') and no error messages came up and still have the same problem. I ran then dbcc checktable ('part') with DATA_PURITY and no error messager came up and the problem still whenever i select anuthing in that particular table.
An inconsistency was detected during an internal operation in database 'LocalLab2000'(ID:5) on page (1:19992). Please contact technical support. Reference number 5.
I ran DBCC CHECKDB and there's no error messages neither alloc or consistency. I ran dbcc checktable ('part') with DATA_PURITY and still no errors, but i still have the inconsistency error message whenever i access this particular table.
We are running SAP 3.1H on MS SQL server 6.5. We are having serius problems with printing. Here are some error messages from the system log.
Deadlock occurred DB error 1205 at UPD access to table TSP02 MSGNO 1205, MSGSTATE 2, SEVERITY 13 Your server command (process id 92) was deadlocked with another process and has been chosen as deadlock victim. Re-run your commandsrvname SAPPROD : procname YR200000015BKH4037TSP02 : line 2 Spool: RT_UPDATE error 1 for table TSP02 DB error 0 at UPD access to table TSP02
Spool: RT_UPDATE error 1 for table TSP02 DB error 0 at DEL access to table TST01
Database error: TemSe->XRTAB(5)->1 for table TST01 key [005]SPOOL25171 ,1 Database error: TemSe->XRTAB(5)->1 for table TST01 key [005]SPOOL25171 ,1 Some error in TemSe management DB error 0 at DEL access to table TSP01
The system log is full of these errors, we have a lot of inconsistency's in the temse objects. Can you tell me wat the solution is or cult be for this problem??
I have this problem with reporting services wherein my report contains an Area Chart. My plot points is about 100,000 records. The problem is sometimes the Chart is displaying right and sometimes its not. The users need to refresh the report again for the chart to display right. This doesn't happen if my records to plot contains around 10,000 records.
Does RS have a limation in plotting records in an Area Chart? Any solutions?
The trigger makes use of the inserted and deleted psuedo tables.
When an event occurs where it fires the trigger, I am getting the following error:
"Msg 5243, Level 22, State 1, Procedure TR_PRICE_MAPPING_AUDIT, Line 39 An inconsistency was detected during an internal operation. Please contact technical support. Reference number 3."
I tried to drop the trigger and recreate it. Still the same issue.
I ahve other triggers that handle the same type of audit process i am doing, but do not cause an error.
Does anyone have any thoughts.
The Line 39, is the point where the OPEN call to the currsor.
Here is the code for the trigger:
Create TRIGGER [dbo].[TR_PRICE_MAPPING_AUDIT] ON [dbo].[REST_MENU_PRICE_INCREASE_MAPPING] AFTER UPDATE
DECLARE PRICE_CUR CURSOR FOR SELECT D.REST_ID, D.rest_price_mapping_id, I.PCT_INCREASE, D.PCT_INCREASE, I.IS_ACTIVE, D.IS_ACTIVE, I.IS_DELETE, D.IS_DELETE, D.BEGIN_DATETIME FROM INSERTED I, DELETED D WHERE D.rest_price_mapping_id=I.rest_price_mapping_id and d.pct_increase<>i.pct_increase AND D.BEGIN_DATETIME<=GETDATE()
OPEN PRICE_CUR FETCH NEXT FROM PRICE_CUR INTO @V_REST_ID, @V_REST_MAPPING_ID, @V_NEW_PCT_INCREASE , @V_OLD_PCT_INCREASE, @V_NEW_IS_ACTIVE, @V_OLD_IS_ACTIVE, @V_NEW_IS_DELETE, @V_OLD_IS_delete, @V_OLD_BEGIN_DATETIME
WHILE @@FETCH_STATUS=0 BEGIN BEGIN TRANSACTION --THERE IS A CHNAGE IN ONE THE KEY ELEMENTS OF THE TABLE, -- WE NEED TO SET CURRENT TO END_DATE AND INSERT NEW RECORD INSERT INTO REST_MENU_PRICE_INCREASE_MAPPING_AUDIT (REST_ID,REST_PRICE_MAPPING_ID,PCT_INCREASE, BEGIN_DATETIME,END_DATETIME, IS_ACTIVE,iS_DELETE) VALUES(@V_REST_ID,@V_REST_MAPPING_ID, @V_OLD_PCT_INCREASE, @V_OLD_BEGIN_DATETIME,GETDATE(), @V_OLD_IS_ACTIVE,@V_OLD_IS_DELETE)
UPDATE REST_MENU_PRICE_INCREASE_MAPPING SET BEGIN_DATETIME=GETDATE() WHERE REST_PRICE_MAPPING_ID=@V_REST_MAPPING_ID COMMIT TRANSACTION FETCH NEXT FROM PRICE_CUR INTO @V_REST_ID, @V_REST_MAPPING_ID, @V_NEW_PCT_INCREASE , @V_OLD_PCT_INCREASE, @V_NEW_IS_ACTIVE, @V_OLD_IS_ACTIVE, @V_NEW_IS_DELETE, @V_OLD_IS_delete, @V_OLD_BEGIN_DATETIME END CLOSE PRICE_CUR DEALLOCATE PRICE_CUR END
I am wondering if it is possible to use SSIS to sample data set to training set and test set directly to my data mining models without saving them somewhere as occupying too much space? Really need guidance for that.
I have used both data readers and data adapters(with datasets) in the projects that I have worked on. I am trying to get some clarification on when I should be using which one. I think I am doing this correctly but I want to be sure I am developing good habits.
As the name might suggest, it seems like a datareader is for only reading data. I have read that the data adapter and dataset are for a disconnected architecture. Or, that they can be used for this type of set up. I have been using the data adapter and datasets when writing to a database and the datareader when reading from a database.
Is this how these should be used? Is the data reader the best choice for reading data? Am I doing this the optimal way from a performance stand point?
......................................................thanks in advance
We already integrated different client data to MDS with MS Excel plugin, now we want to push back updated or new added record to source database. is it possible do using MDS? Do we have any background sync process to which automatically sync data to and from subscriber and MDS?
When I enter over 4000 chars in any ntext field in my SQL Server 2005 database (directly in the database and through the application) I get an error saying that the data could not be updated because string or binary data would be truncated.Has anyone ever seen this? I cannot figure out what is causing it, ntext should be able to hold a lot more data that this...
I have a requirement to implement CDC for 50+ tables to implement incremental data changes warehouse/reporting rather than exporting the whole table data. The largest table is having more than half a billion records.
The warehouse use a daily copy of OLTP db (daily DB refresh). How can I accomplish this. Is there a downside in implementing CDC just for the sake of taking incremental changes on the tables?
Is there any performance impact if we enable CDC on OLTP db?
Can we make use of the CDC tables on the environment we do daily db refresh so that the queries don't hit OLTP database?
What is the best way to implement CDC to take incremental changes for reporting.
Hi,This is driving me nuts, I have a table that stores notes regarding anoperation in an IMAGE data type field in MS SQL Server 2000.I can read and write no problem using Access using the StrConv function andI can Update the field correctly in T-SQL using:DECLARE @ptrval varbinary(16)SELECT @ptrval = TEXTPTR(BITS_data)FROM mytable_BINARY WHERE ID = 'RB215'WRITETEXT OPERATION_BINARY.BITS @ptrval 'My notes for this operation'However, I just can not seem to be able to convert back to text theinformation once it is stored using T-SQL.My selects keep returning bin data.How to do this! Thanks for your help.SD
I'm using Script Component to load data into Oracle DB due to the poor performance issue. Now, I found it will missing some data during the transmission. Please see the screenshot below:Â
[DTS.Pipeline] Error: "component "Excel Source" (1)" failed validation and returned validation status "VS_NEEDSNEWMETADATA".
and also this:
[Excel Source [1]] Warning: The external metadata column collection is out of synchronization with the data source columns. The column "Fiscal Week" needs to be updated in the external metadata column collection. The column "Fiscal Year" needs to be updated in the external metadata column collection. The column "1st level" needs to be added to the external metadata column collection. The column "2nd level" needs to be added to the external metadata column collection. The column "3rd level" needs to be added to the external metadata column collection. The "external metadata column "1st Level" (16745)" needs to be removed from the external metadata column collection. The "external metadata column "3rd Level" (16609)" needs to be removed from the external metadata column collection. The "external metadata column "2nd Level" (16272)" needs to be removed from the external metadata column collection.
I tried going data flow->excel connection->advanced editor for excel source-> input and output properties and tried to refresh the columns affected. It seems that somehow the 3 columns are not read in from the source file? ans alslo fiscal year, fiscal week is not set up up properly in my data destination? anyone faced such errors before?
When I execute the below stored procedure I get the error that "Arithmetic overflow error converting expression to data type int".
USE [FileSharing] GO /****** Object: StoredProcedure [dbo].[xlaAFSsp_reports] Script Date: 24.07.2015 17:04:10 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO
[Code] .....
Msg 8115, Level 16, State 2, Procedure xlaAFSsp_reports, Line 25 Arithmetic overflow error converting expression to data type int. The statement has been terminated. (1 row(s) affected)
is there a step by step paper to get there? here is what i need to consider. I Iwill have many customers that will need their own set of records and access pages "branded for their company" each customer will have many clients. I am hosting this application on a windows 2003 server with SQL 2005 server enterprise.
I am using windows authentication, I have created a username in windows, then i added the windows user in SQL management studio in security, granted "DB Read" and "DB write" and again under the database security tab. still from the web authentication fails. i must be nissing a step or two?
I expect to set up a username for each database as i setup new customers.
RE: XML Data source .. Expression? Variable? Connection? Error: unable to read the XML data.
I want my XML Data source to be an expression as i will be looping through a directory of xml files.
I don't see the expression property or the connection property??
I tried setting the XMLData property to @[User::filename], but that results in:
Information: 0x40043006 at Load XML Files, DTS.Pipeline: Prepare for Execute phase is beginning. Error: 0xC02090D0 at Load XML Files, XML Source [108]: The component "XML Source" (108) was unable to read the XML data. Error: 0xC0047019 at Load XML Files, DTS.Pipeline: component "XML Source" (108) failed the prepare phase and returned error code 0xC02090D0. Information: 0x4004300B at Load XML Files, DTS.Pipeline: "component "OLE DB Destination" (341)" wrote 0 rows. Task failed: Load XML Files Information: 0xC002F30E at Bad, File System Task: File or directory "d:jcpxmlLoadjcp2.xml.bad" was deleted. Warning: 0x80019002 at Package: The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors. SSIS package "Package.dtsx" finished: Failure. The program '[3312] Package.dtsx: DTS' has exited with code 0 (0x0).
I setup this package to import data from a Sharepoint list to a SQL Server data table. The primary key of my SQL table is mapped to the Title column of my Sharepoint list. There is a possibility that duplicate values will be entered in the Title field of the Sharepoint list. So when importing data into my table via SSIS, my package always error-out when there it comes across duplicate values. how you others have managed data integrity when importing from a Sharepoint list with the Title column being mapped to the primary key of a table.