Advice On DBCC SHRINKDATABASE
Mar 3, 2008
Hi everyone:
I have a database that appears like it's much bigger than it should be. Looking at its properties in Enterprise Manager, it's 13GB big, but it says 7GB is available in free space. It's like it's grown, data was deleted, and it was never shrunk back down.
So I'm considering running a DBCC SHRINKDATABASE but am worried about the ramifications. Here are my concerns:
- Is the data in the database in any danger? Is the SHRINKDATABASE function safe?
- Can SHRINKDATABASE be run with the DB still in use? I'll run it after hours, but want to know if I need to put it in admin mode
- Will SHRINKDATABASE even do what I want?
- I've read the SHRINKDATABASE can fragment indexes. Is this true? If yes, how do I avoid it?
Thanks!
Norm
View 6 Replies
ADVERTISEMENT
May 1, 2000
Does anyone have any idea how long DBCC SHRINKDATABASE takes to run? I have a 20GB database with 10.5 GB used. I know hardware is part of the equation, but I don't know the specifics of the machine this particular DB is on, other than it is an 8 cpu compaq.
View 1 Replies
View Related
Sep 10, 2003
When using the above comand on our database, I receive the error: Transaction (Process ID 81) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. Is that because we have users in the database as Im trying to shrink it ? I re-ran the query and received the same messages. thank you
View 1 Replies
View Related
Sep 28, 2006
I've been testing this in our test environment. Our database has grown to 18GB so I want to make it smaller. I used DBCC SHRINKDATABASE (dbname, TRUNCATEONLY) because i want to free up space that the file takes up on the server. Am I misunderstanding this? Should I not expect my .mdf to shrink? Thanks.
View 6 Replies
View Related
May 12, 2008
Hi, should i use the SHRINK DATABASE maintenance plan once a month on all USERS DB? if so what parameters should i put this the "Shrink Database when i grows beyond XXX MB" and the "Amount of free space to remain after shrink" THX
View 2 Replies
View Related
Feb 15, 2006
Hi, I have strange problem: 1) When I run "DBCC SHRINKDATABASE" (from my application) on computer with SQL Server 2000, it works fine. 2) When I run "DBCC SHRINKDATABASE" (from my application) on computer with MSDE that is connected the network with other computer with SQL Server 2000, it works fine. 3) When I run "DBCC SHRINKDATABASE" (from my application) on computer with MSDE that isn't connected the network, it stops response. I have wait for 15 minuts but it still doesn't work, neither the database is clear before. Why? 4) Also when I run "DBCC SHRINKDATABASE" (from my application) on computer with MSDE that is connected the network without other computer with SQL Server 2000, it stops response. I have wait for 15 minuts but it still doesn't work, neither the database is clear before. Why? May be the "DBCC SHRINKDATABASE" need some DLLs that installed on SQL Server 2000 only and doesn't deliver with MSDE? May be this is SQL-DMO or/and SQL-NS? My appliation created by C# in VS.NET 2003. I am using OLEDB. Thank's Alexei
View 1 Replies
View Related
Jun 15, 2006
Has anyone used the "DBCC SHRINKDATABASE" in a VB.NET project to shrink a DB. If YES, Please, if you dont mind, paste the code in this forum. Tnx
View 4 Replies
View Related
Nov 8, 2006
Is there anyway to tell how long this will run for -- or how far it has got? I have a large database that has just had most of the data removed. The command has been running for 8 hours and I have just stopped it to let something else run quickly. Any way of telling how much longer it will take?
View 7 Replies
View Related
Feb 28, 2008
So, basically I'm trying to do an insert into exec(dbcc shrinkdatabase) Code Snippet DECLARE @SQL VARCHAR(1024) ,@DBName VARCHAR(512) SET @DBName= 'admin' IF OBJECT_ID('tempdb.dbo.#ShrinkDB') IS NOT NULL DROP TABLE #ShrinkDB CREATE TABLE #ShrinkDB ( DbId INT ,FileID INT ,CurrentSize BIGINT ,MinimumSize BIGINT ,UsedPages BIGINT ,EstimatedPages BIGINT ) SET @SQL= ' INSERT INTO #ShrinkDB (DbId,FileId,CurrentSize,MinimumSize,Usedpages,EstimatedPages) EXEC(''DBCC SHRINKDATABASE(' + @DBName + ')'') ' EXEC(@SQL) SELECT * FROM #ShrinkDB and receive the following: Cannot perform a shrinkdatabase operation inside a user transaction. Terminate the transaction and reissue the statement. I've tried adding a begin tran and commit tran around it, doesn't help ... Is there any way around this? Is there any other way to capture the output of a shrink database from a procedure perspective? Thanks
View 4 Replies
View Related
Apr 16, 2008
Hi I have a full backup Job in SQL Server2000 server(designed by some body). Step1.DBCC SHRINKDATABASE Step2.DBCC SHRINKFILE -->It is shrinking log file and BACKUP DATASE() Is it OK Shrinking Database and log files before full backup.. Your advice is appreciated.
View 10 Replies
View Related
Nov 27, 2007
I want to shrink the log file in SQL Server 2005 (SP2). What is the bestway in 2005? Any enhancements in SQL Server 2005? Thank you, Smith
View 4 Replies
View Related
Feb 26, 2002
I just inherited a database nightmare - and I've got a few questions I hope you folks can help with. I ran a shrinkdatabase command from the enterprise manager (I should have used DBCC I realize now), and then my session died. The process is still going - but this is a huge database, and I'd like to know how long it will run. Is there any way to translate physical io (or anything else) to % complete? This is being run to open up space on a disk array that is completely full. However, since kicking that off, additional storage has mysteriously been made available. <sigh> I assume that killing the shrink wouldn't involve rollbacks - but might leave the database in an unpredictable state. Is this correct? Any other recommendations to speed this along? And, yes, I've got all the users off the system. Thanks in advance for you insights... Bart
View 1 Replies
View Related
Nov 27, 2001
Hi: Need to shrink a few large databases and has anyone had more success with using DBCC Shrinkfile compared to DBCC Shrinkdatabase? Thanks,
View 1 Replies
View Related
Oct 22, 2004
Hi all, after using "DBCC SHRINKDATABASE (MyDB, TRUNCATEONLY )" command my log file stoped growing. It still remains 1024KB after 4-5 days of activity. What might be the problem?
View 1 Replies
View Related
Jul 28, 2007
Hi there, How can I see the progress of DBCC SHRINKDATABASE on SQL Server 2000? Thanks in advance. Regards, MKarumuru
View 5 Replies
View Related
Mar 26, 2007
Hi All, I am playing with DBCC command to check the contsrainst on a perticular table (DBCC CHECKCONSTRAINTS ('myTable') WITH ALL_CONSTRAINTS), it always gives the following result: DBCC execution completed. If DBCC printed error messages, contact your system administrator. nothing more than that, anyone can help please? Cheers, Riaz
View 3 Replies
View Related
Mar 5, 2005
For Backup Database i used script BACKUP DATABSE. Then after that, i need to check Database inigrity, for that i used DBCC CHECKDB and DBCC CHECKCATALOG but, i want to store the result in a text file, after executing these two commends, how to write commend line please help me.
View 1 Replies
View Related
May 17, 2007
what is the difference in shrinkdatabase between sql 2000 and sql 2005. i am just doing a plain shrink, no reorg. it runs very fast in 2000 and runs forever in 2005.
View 1 Replies
View Related
Mar 17, 2008
Hi all, 2 weeks ago I deleted about 200GB of data from a 300GB+ database. It's a custom DB we want to use to test few things. We wanted a smaller size DB for our testing and since we didn't have any we grabbed a production backup, removed sensitive data and ran a large archiving script on it... Anyway so far so good but our data file was still the same size as before. So we started a shrinkdatabase... it has been running for 2 weeks now! After about 1 week I interrupted the shrinkdatabase process and ran a dbcc shrinkdatabase('DB', truncateonly) just to see if the data file will get reduced a bit or not. It did get reduced by about 20GB. I assume that dbcc shrinkdatabase('DB', 0) has free up enough pages at the end of the data file so a truncateonly was able to free up some space... Anyway after this we started the dbcc shrinkdatabase('DB', truncateonly) again... still running... The database was never shrank before and every index is highly fragmented... Is that why it's taking so long? Am I actually going to have to wait for another few weeks before that thing finishes?? Anyone has experience running shrink on large DBs? thanks!
View 14 Replies
View Related
Feb 7, 2002
I am working with a large database that has its tables stored on a secondary filegroup. I'm trying to shrink the size of the files but I can't seem to get the system to free up the unused space. I've tried shrinkdatabase and shrinkfile both with and without the truncateonly option. Has anyone else had this problem? Is there a workaround? Any help would be greatly appreciated. Thank you. Cathy
View 2 Replies
View Related
Apr 2, 2008
Hi: I have maintenance plan on DBABC backup log to .trn job to run every 90 minutes (daily). in order to keep the log file small, I also set up a job (T-SQL) to run at 4:15 am to backup log ABC with truncate_only, then run dbcc shrinkdatabase (DBABC, 10) it looks "backup log ABC with truncate_only" has conflicts with the every90 minutes backup transaction log. Question: could I keep the backup transaction log every90 minutes, but still could shrink the log file. The log file is growing very fast. Or I have to use differential backup instead of backup tran log? thanks David
View 4 Replies
View Related
Oct 26, 2007
Hi guys, I identified a problem today with one of our development DB's where tempororary tables were not being cleaned up by some stored procedures, and this lead to a large tempdb size (about 2 gigs data and a translog of 25 gigs!). I'm currently running a dbcc shrinkdatabase on it, but its been running for over an hour now. In my experience with smaller DB's, this process normally takes a few minutes. Can anyone give me a ballpack figure as to how long I can expect this to run for? Are we talking an hour, a few hours, a day, a few days? Thanks in advance Matt
View 4 Replies
View Related
Jan 9, 2007
Following the below topic: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=53271 I followed the advice of Paul Randal, but Im stumped as I am not able to determin what the corruption issues are. This is SQL 2000 and the database is a Solomon database that was recently upgraded to 6.5. the error I get when running the DBCC checkdb is as follows: Server: Msg 8966, Level 16, State 1, Line 1 Could not read and latch page (1:18645) with latch type SH. sysindexes failed. DBCC execution completed. If DBCC printed error messages, contact your system administrator. When I run select * from sysindexes, I get: Server: Msg 3624, Level 20, State 1, Line 1 Location: blobman.cpp:1780 Expression: sourceLength == sizeof (TextPointer) SPID: 53 Process ID: 256 Connection Broken When I run dbcc page (dbname, 1, 18645, 3) dbcc traceon(3604), It finishes with what appears to be no errors log is as follows: PAGE: (1:18645) --------------- BUFFER: ------- BUF @0x0144C880 --------------- bpage = 0x681B4000 bhash = 0x00000000 bpageno = (1:18645) bdbid = 12 breferences = 1 bstat = 0x9 bspin = 0 bnext = 0x00000000 PAGE HEADER: ------------ Page @0x681B4000 ---------------- m_pageId = (1:18645) m_headerVersion = 1 m_type = 1 m_typeFlagBits = 0x0 m_level = 0 m_flagBits = 0x2 m_objId = 2 m_indexId = 0 m_prevPage = (1:505) m_nextPage = (1:213) pminlen = 82 m_slotCnt = 16 m_freeCnt = 3988 m_freeData = 5796 m_reservedCnt = 0 m_lsn = (42700:4549:10) m_xactReserved = 0 m_xdesId = (0:2539719) m_ghostRecCnt = 0 m_tornBits = 0 Allocation Status ----------------- GAM (1:2) = ALLOCATED SGAM (1:3) = NOT ALLOCATED PFS (1:16176) = 0x40 ALLOCATED 0_PCT_FULL DIFF (1:6) = CHANGED ML (1:7) = NOT MIN_LOGGED Slot 0 Offset 0xf8c ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4F8C: 00520030 013f142a 00004012 00000000 0.R.*.?..@...... 681B4F9C: 00010000 00000000 02600000 00010001 ..........`..... 681B4FAC: 00000000 00000000 00000000 00000000 ................ 681B4FBC: 00000000 00000000 027a0000 00000022 ..........z."... 681B4FCC: 00000000 00000000 00000000 00000000 ................ 681B4FDC: 001b0000 00000000 00800003 80a60096 ................ 681B4FEC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4FFC: 0001000a 00000000 00010016 00000000 ................ 681B500C: 006d0073 006e0049 00420076 00740061 s.m.I.n.v.B.a.t. 681B501C: 00680063 00000030 002a869d 00570000 c.h.0.....*...W. 681B502C: 00010000 0007 ...... id = 20911146 status = 16402 first = 0 indid = 1 root = 0 minlen = 608 keycnt = 1 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 634 maxirow = 34 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4FEC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4FFC: 0001000a 00000000 00010016 00000000 ................ name = smInvBatch0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182647062528 RowId = (1:87:7) Slot 1 Offset 0x12c4 -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B52C4: 00520030 013f142a 00000000 00000000 0.R.*.?......... 681B52D4: 00020000 00000000 00150000 00010003 ................ 681B52E4: 00000000 00000000 00000000 00000000 ................ 681B52F4: 00000000 00000000 00260000 0000002c ..........&.,... 681B5304: 00000000 00000000 00000000 00000000 ................ 681B5314: 001b0000 00000000 00c00003 80e600d6 ................ 681B5324: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5334: 00010016 00000000 00010072 00000000 ........r....... 681B5344: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5354: 000b000a 00000000 000b0016 00000000 ................ 681B5364: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5374: 000b000a 00000000 00010016 00030000 ................ 681B5384: 006d0073 006e0049 00420076 00740061 s.m.I.n.v.B.a.t. 681B5394: 00680063 00000031 002a869f 00570000 c.h.1.....*...W. 681B53A4: 00010000 0008 ...... id = 20911146 status = 0 first = 0 indid = 2 root = 0 minlen = 21 keycnt = 3 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 38 maxirow = 44 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B5324: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5334: 00010016 00000000 00010072 00000000 ........r....... 681B5344: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5354: 000b000a 00000000 000b0016 00000000 ................ 681B5364: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B5374: 000b000a 00000000 00010016 00030000 ................ name = smInvBatch1 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182647193600 RowId = (1:87:8) Slot 2 Offset 0x1440 -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B5440: 00520030 01584911 00004012 000000c6 0.R..IX..@...... 681B5450: 00010001 00000095 09a20001 00010001 ................ 681B5460: 00000001 00000005 00000005 00000000 ................ 681B5470: 00000000 00000003 09ba0000 0000001a ................ 681B5480: 00000000 00000096 00000001 00000000 ................ 681B5490: 001b0000 00000000 00800003 80a60096 ................ 681B54A0: 00340134 00050002 00000000 00000000 4.4............. 681B54B0: 00010020 00000000 000102c1 00000000 ............... 681B54C0: 00700052 00520074 006e0075 00690074 R.p.t.R.u.n.t.i. 681B54D0: 0065006d 00000030 002a87a9 03a00000 m.e.0.....*..... 681B54E0: 00010000 0019 ...... id = 22563089 status = 16402 first = 0 indid = 1 root = 0 minlen = 2466 keycnt = 1 groupid = 1 dpages = 1 reserved = 5 used = 5 rowcnt = 0 rowmodctr = 3 reserved3 = 0 reserved4 = 0 xmaxlen = 2490 maxirow = 26 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B54A0: 00340134 00050002 00000000 00000000 4.4............. 681B54B0: 00010020 00000000 000102c1 00000000 ............... name = RptRuntime0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182664626176 RowId = (1:928:25) Slot 3 Offset 0x15bc -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B55BC: 00520030 01584911 00000000 000000e6 0.R..IX......... 681B55CC: 00020001 000000e6 00470001 00010003 ..........G..... 681B55DC: 00000001 00000002 00000002 00000000 ................ 681B55EC: 00000000 00000000 00580000 0000005e ..........X.^... 681B55FC: 00000000 00000161 00000001 00000000 ....a........... 681B560C: 001b0000 00000000 00c00003 80e600d6 ................ 681B561C: 00af03af 00000015 3400d008 00000000 ...........4.... 681B562C: 00010008 00000000 0001004b 00000000 ........K....... 681B563C: 00af03af 0000002f 3400d008 00000000 ..../......4.... 681B564C: 0016003f 00000000 0016096b 00000000 ?.......k....... 681B565C: 00340134 00050002 00000000 00000000 4.4............. 681B566C: 00450020 00000000 000102c1 00010000 .E............. 681B567C: 00700052 00520074 006e0075 00690074 R.p.t.R.u.n.t.i. 681B568C: 0065006d 00000031 002a87ab 3eb70000 m.e.1.....*....> 681B569C: 00010000 0004 ...... id = 22563089 status = 0 first = 0 indid = 2 root = 0 minlen = 71 keycnt = 3 groupid = 1 dpages = 1 reserved = 2 used = 2 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 88 maxirow = 94 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B561C: 00af03af 00000015 3400d008 00000000 ...........4.... 681B562C: 00010008 00000000 0001004b 00000000 ........K....... 681B563C: 00af03af 0000002f 3400d008 00000000 ..../......4.... 681B564C: 0016003f 00000000 0016096b 00000000 ?.......k....... 681B565C: 00340134 00050002 00000000 00000000 4.4............. 681B566C: 00450020 00000000 000102c1 00010000 .E............. name = RptRuntime1 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182664757248 RowId = (1:16055:4) Slot 4 Offset 0xc04 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4C04: 00520030 0175b502 00004012 00000000 0.R...u..@...... 681B4C14: 00010000 00000000 040c0000 00010001 ................ 681B4C24: 00000000 00000000 00000000 00000000 ................ 681B4C34: 00000000 00000000 04270000 00000022 ..........'."... 681B4C44: 00000000 00000000 00000000 00000000 ................ 681B4C54: 001b0000 00000000 00800003 80a60096 ................ 681B4C64: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4C74: 0001004e 00000000 000103e6 00000000 N............... 681B4C84: 006f0057 006b0072 00650043 0074006e W.o.r.k.C.e.n.t. 681B4C94: 00720065 00000030 002a84b7 55880000 e.r.0.....*....U 681B4CA4: 00010000 0007 ...... id = 24491266 status = 16402 first = 0 indid = 1 root = 0 minlen = 1036 keycnt = 1 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 1063 maxirow = 34 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4C64: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4C74: 0001004e 00000000 000103e6 00000000 N............... name = WorkCenter0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182615212032 RowId = (1:21896:7) Slot 5 Offset 0xb64 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4B64: 00520030 01ab548a 00004012 00000000 0.R..T...@...... 681B4B74: 00010000 00000000 038e0000 00010001 ................ 681B4B84: 00000000 00000000 00000000 00000000 ................ 681B4B94: 00000000 00000000 03b00000 0000001a ................ 681B4BA4: 00000000 00000000 00000000 00000000 ................ 681B4BB4: 001b0000 00000000 00800003 80a00090 ................ 681B4BC4: 00af03af 00000002 3400d008 00000000 ...........4.... 681B4BD4: 0001007b 00000000 000102bb 00000000 {............... 681B4BE4: 004f0053 00650053 00750074 00300070 S.O.S.e.t.u.p.0. 681B4BF4: 84010000 0000002a 00000f23 00070001 ....*...#....... id = 28005514 status = 16402 first = 0 indid = 1 root = 0 minlen = 910 keycnt = 1 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 944 maxirow = 26 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4BC4: 00af03af 00000002 3400d008 00000000 ...........4.... 681B4BD4: 0001007b 00000000 000102bb 00000000 {............... name = SOSetup0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182603284480 RowId = (1:3875:7) Slot 6 Offset 0x58c ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B458C: 00520030 01c4f563 00004012 00000000 0.R.c....@...... 681B459C: 00010000 00000000 04c70000 00010002 ................ 681B45AC: 00000000 00000000 00000000 00000000 ................ 681B45BC: 00000000 00000000 04e80000 00000027 ............'... 681B45CC: 00000000 00000000 00000000 00000000 ................ 681B45DC: 001b0000 00000000 00a00003 80c400b4 ................ 681B45EC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B45FC: 00010034 00000000 0001016e 00000000 4.......n....... 681B460C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B461C: 000b002a 00000000 000b0135 00000000 *.......5....... 681B462C: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B463C: 00300074 82fd0000 0000002a 0000068a t.0.....*....... 681B464C: 00490001 ..I. id = 29685091 status = 16402 first = 0 indid = 1 root = 0 minlen = 1223 keycnt = 2 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 1256 maxirow = 39 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B45EC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B45FC: 00010034 00000000 0001016e 00000000 4.......n....... 681B460C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B461C: 000b002a 00000000 000b0135 00000000 *.......5....... name = PurOrdDet0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586245120 RowId = (1:1674:73) Slot 7 Offset 0x650 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4650: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B4660: 00020000 00000000 002e0000 00010003 ................ 681B4670: 00000000 00000000 00000000 00000000 ................ 681B4680: 00000000 00000000 003f0000 00000045 ..........?.E... 681B4690: 00000000 00000000 00000000 00000000 ................ 681B46A0: 001b0000 00000000 00c00003 80e400d4 ................ 681B46B0: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B46C0: 00010024 00000000 00010109 00000000 $............... 681B46D0: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B46E0: 001f0034 00000000 0001016e 00010000 4.......n....... 681B46F0: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4700: 0029002a 00000000 000b0135 00010000 *.).....5....... 681B4710: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B4720: 00310074 83040000 0000002a 0000068a t.1.....*....... 681B4730: 004a0001 ..J. id = 29685091 status = 0 first = 0 indid = 2 root = 0 minlen = 46 keycnt = 3 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 63 maxirow = 69 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B46B0: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B46C0: 00010024 00000000 00010109 00000000 $............... 681B46D0: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B46E0: 001f0034 00000000 0001016e 00010000 4.......n....... 681B46F0: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4700: 0029002a 00000000 000b0135 00010000 *.).....5....... name = PurOrdDet1 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586703872 RowId = (1:1674:74) Slot 8 Offset 0x734 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4734: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B4744: 00030000 00000000 00340000 00010004 ..........4..... 681B4754: 00000000 00000000 00000000 00000000 ................ 681B4764: 00000000 00000000 00450000 0000004b ..........E.K... 681B4774: 00000000 00000000 00000000 00000000 ................ 681B4784: 001b0000 00000000 00e00003 810400f4 ................ 681B4794: 00af03af 00000006 3400d008 00000000 ...........4.... 681B47A4: 00010044 00000000 000101ea 00000000 D............... 681B47B4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B47C4: 00070024 00000000 00070109 00000000 $............... 681B47D4: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B47E4: 00250034 00000000 0001016e 00010000 4.%.....n....... 681B47F4: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4804: 002f002a 00000000 000b0135 00010000 *./.....5....... 681B4814: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B4824: 00320074 83050000 0000002a 0000068a t.2.....*....... 681B4834: 004b0001 ..K. id = 29685091 status = 0 first = 0 indid = 3 root = 0 minlen = 52 keycnt = 4 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 69 maxirow = 75 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4794: 00af03af 00000006 3400d008 00000000 ...........4.... 681B47A4: 00010044 00000000 000101ea 00000000 D............... 681B47B4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B47C4: 00070024 00000000 00070109 00000000 $............... 681B47D4: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B47E4: 00250034 00000000 0001016e 00010000 4.%.....n....... 681B47F4: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4804: 002f002a 00000000 000b0135 00010000 *./.....5....... name = PurOrdDet2 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586769408 RowId = (1:1674:75) Slot 9 Offset 0x838 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4838: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B4848: 00040000 00000000 00120000 00010005 ................ 681B4858: 00000000 00000000 00000000 00000000 ................ 681B4868: 00000000 00000000 00230000 00000029 ..........#.)... 681B4878: 00000000 00000000 00000000 00000000 ................ 681B4888: 001b0000 00000000 01000003 81240114 ..............$. 681B4898: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B48A8: 00010034 00000000 0001016e 00000000 4.......n....... 681B48B8: 00af03af 00000005 3400d008 00000000 ...........4.... 681B48C8: 000b002a 00000000 000b0135 00000000 *.......5....... 681B48D8: 00340134 00050002 00000000 00000000 4.4............. 681B48E8: 00100029 00000000 00100133 00000000 ).......3....... 681B48F8: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4908: 00010034 00000000 0001016e 00030000 4.......n....... 681B4918: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4928: 000b002a 00000000 000b0135 00030000 *.......5....... 681B4938: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B4948: 00330074 83060000 0000002a 0000068a t.3.....*....... 681B4958: 004c0001 ..L. id = 29685091 status = 0 first = 0 indid = 4 root = 0 minlen = 18 keycnt = 5 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 35 maxirow = 41 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4898: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B48A8: 00010034 00000000 0001016e 00000000 4.......n....... 681B48B8: 00af03af 00000005 3400d008 00000000 ...........4.... 681B48C8: 000b002a 00000000 000b0135 00000000 *.......5....... 681B48D8: 00340134 00050002 00000000 00000000 4.4............. 681B48E8: 00100029 00000000 00100133 00000000 ).......3....... 681B48F8: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4908: 00010034 00000000 0001016e 00030000 4.......n....... 681B4918: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4928: 000b002a 00000000 000b0135 00030000 *.......5....... name = PurOrdDet3 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586834944 RowId = (1:1674:76) Slot 10 Offset 0x95c -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B495C: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B496C: 00050000 00000000 003a0000 00010005 ..........:..... 681B497C: 00000000 00000000 00000000 00000000 ................ 681B498C: 00000000 00000000 004b0000 00000051 ..........K.Q... 681B499C: 00000000 00000000 00000000 00000000 ................ 681B49AC: 001b0000 00000000 01000003 81240114 ..............$. 681B49BC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B49CC: 00010024 00000000 00010109 00000000 $............... 681B49DC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B49EC: 001f005e 00000000 001f032b 00000000 ^.......+....... 681B49FC: 00340134 00050002 00000000 00000000 4.4............. 681B4A0C: 0029002f 00000000 00290154 00000000 /.).....T.)..... 681B4A1C: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4A2C: 002b0034 00000000 0001016e 00010000 4.+.....n....... 681B4A3C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4A4C: 0035002a 00000000 000b0135 00010000 *.5.....5....... 681B4A5C: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B4A6C: 00340074 83070000 0000002a 0000068a t.4.....*....... 681B4A7C: 004d0001 ..M. id = 29685091 status = 0 first = 0 indid = 5 root = 0 minlen = 58 keycnt = 5 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 75 maxirow = 81 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B49BC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B49CC: 00010024 00000000 00010109 00000000 $............... 681B49DC: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B49EC: 001f005e 00000000 001f032b 00000000 ^.......+....... 681B49FC: 00340134 00050002 00000000 00000000 4.4............. 681B4A0C: 0029002f 00000000 00290154 00000000 /.).....T.)..... 681B4A1C: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4A2C: 002b0034 00000000 0001016e 00010000 4.+.....n....... 681B4A3C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4A4C: 0035002a 00000000 000b0135 00010000 *.5.....5....... name = PurOrdDet4 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586900480 RowId = (1:1674:77) Slot 11 Offset 0xa80 -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4A80: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B4A90: 00060000 00000000 00200000 00010003 .......... ..... 681B4AA0: 00000000 00000000 00000000 00000000 ................ 681B4AB0: 00000000 00000000 00310000 00000037 ..........1.7... 681B4AC0: 00000000 00000000 00000000 00000000 ................ 681B4AD0: 001b0000 00000000 00c00003 80e400d4 ................ 681B4AE0: 00af03af 00000010 3400d008 00000000 ...........4.... 681B4AF0: 00010036 00000000 0001017a 00000000 6.......z....... 681B4B00: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4B10: 00110034 00000000 0001016e 00010000 4.......n....... 681B4B20: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4B30: 001b002a 00000000 000b0135 00010000 *.......5....... 681B4B40: 00750050 004f0072 00640072 00650044 P.u.r.O.r.d.D.e. 681B4B50: 00350074 83080000 0000002a 0000068a t.5.....*....... 681B4B60: 004e0001 ..N. id = 29685091 status = 0 first = 0 indid = 6 root = 0 minlen = 32 keycnt = 3 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 49 maxirow = 55 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4AE0: 00af03af 00000010 3400d008 00000000 ...........4.... 681B4AF0: 00010036 00000000 0001017a 00000000 6.......z....... 681B4B00: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4B10: 00110034 00000000 0001016e 00010000 4.......n....... 681B4B20: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4B30: 001b002a 00000000 000b0135 00010000 *.......5....... name = PurOrdDet5 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182586966016 RowId = (1:1674:78) Slot 12 Offset 0xcac -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B4CAC: 00520030 01c4f563 00000000 00000000 0.R.c........... 681B4CBC: 00070000 00000000 00110000 00010003 ................ 681B4CCC: 00000000 00000000 00000000 00000000 ................ 681B4CDC: 00000000 00000000 00220000 00000028 ..........".(... 681B4CEC: 00000000 00000000 00000000 00000000 ................ 681B4CFC: 001b0000 00000000 00c00003 80ee00de ................ 681B4D0C: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4D1C: 00010033 00000000 0001016d 00000000 3.......m....... 681B4D2C: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4D3C: 00020034 00000000 0001016e 00010000 4.......n....... 681B4D4C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4D5C: 000c002a 00000000 000b0135 00010000 *.......5....... 681B4D6C: 00750070 006f0072 00640072 00650064 p.u.r.o.r.d.d.e. 681B4D7C: 005f0074 00740073 00610072 0000006e t._.s.t.r.a.n... 681B4D8C: 002a84c7 78450000 00010000 001d ..*...Ex...... id = 29685091 status = 0 first = 0 indid = 7 root = 0 minlen = 17 keycnt = 3 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 34 maxirow = 40 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4D0C: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4D1C: 00010033 00000000 0001016d 00000000 3.......m....... 681B4D2C: 00af03af 0000000a 3400d008 00000000 ...........4.... 681B4D3C: 00020034 00000000 0001016e 00010000 4.......n....... 681B4D4C: 00af03af 00000005 3400d008 00000000 ...........4.... 681B4D5C: 000c002a 00000000 000b0135 00010000 *.......5....... name = purorddet_stran statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182616260608 RowId = (1:30789:29) Slot 13 Offset 0xd4 ------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B40D4: 00520030 01d345b0 00004012 00000000 0.R..E...@...... 681B40E4: 00010000 00000000 019b0000 00010006 ................ 681B40F4: 00000000 00000000 00000000 00000000 ................ 681B4104: 00000000 00000000 01b00000 0000007b ............{... 681B4114: 00000000 00000000 00000000 00000000 ................ 681B4124: 001b0000 00000000 01200003 81460136 .......... .6.F. 681B4134: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4144: 00010008 00000000 00010041 00000000 ........A....... 681B4154: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4164: 001f0007 00000000 001f003d 00000000 ........=....... 681B4174: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4184: 00230010 00000000 00230084 00000000 ..#.......#..... 681B4194: 00af03af 00000001 3400d008 00000000 ...........4.... 681B41A4: 00410006 00000000 0041003c 00000000 ..A.....<.A..... 681B41B4: 00af03af 00000004 3400d008 00000000 ...........4.... 681B41C4: 00420004 00000000 0042001a 00000000 ..B.......B..... 681B41D4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B41E4: 00460005 00000000 0046001e 00000000 ..F.......F..... 681B41F4: 0070004f 00440074 00700065 00780045 O.p.t.D.e.p.E.x. 681B4204: 006c0063 00000030 002a8221 4d150000 c.l.0...!.*....M 681B4214: 00010000 003f ....?. id = 30623152 status = 16402 first = 0 indid = 1 root = 0 minlen = 411 keycnt = 6 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 432 maxirow = 123 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4134: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4144: 00010008 00000000 00010041 00000000 ........A....... 681B4154: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4164: 001f0007 00000000 001f003d 00000000 ........=....... 681B4174: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4184: 00230010 00000000 00230084 00000000 ..#.......#..... 681B4194: 00af03af 00000001 3400d008 00000000 ...........4.... 681B41A4: 00410006 00000000 0041003c 00000000 ..A.....<.A..... 681B41B4: 00af03af 00000004 3400d008 00000000 ...........4.... 681B41C4: 00420004 00000000 0042001a 00000000 ..B.......B..... 681B41D4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B41E4: 00460005 00000000 0046001e 00000000 ..F.......F..... name = OptDepExcl0 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182571827200 RowId = (1:19733:63) Slot 14 Offset 0x21c -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B421C: 00520030 01d345b0 00000000 00000000 0.R..E.......... 681B422C: 00020000 00000000 00640000 00010008 ..........d..... 681B423C: 00000000 00000000 00000000 00000000 ................ 681B424C: 00000000 00000000 00750000 0000007b ..........u.{... 681B425C: 00000000 00000000 00000000 00000000 ................ 681B426C: 001b0000 00000000 01600003 81860176 ..........`.v... 681B427C: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B428C: 00010005 00000000 0001001e 00000000 ................ 681B429C: 00af03af 00000004 3400d008 00000000 ...........4.... 681B42AC: 001f0004 00000000 001f001a 00000000 ................ 681B42BC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B42CC: 00230008 00000000 00010041 00010000 ..#.....A....... 681B42DC: 00af03af 00000004 3400d008 00000000 ...........4.... 681B42EC: 00410007 00000000 001f003d 00010000 ..A.....=....... 681B42FC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B430C: 00450010 00000000 00230084 00010000 ..E.......#..... 681B431C: 00af03af 00000001 3400d008 00000000 ...........4.... 681B432C: 00630006 00000000 0041003c 00010000 ..c.....<.A..... 681B433C: 00af03af 00000004 3400d008 00000000 ...........4.... 681B434C: 001f0004 00000000 0042001a 00030000 ..........B..... 681B435C: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B436C: 00010005 00000000 0046001e 00030000 ..........F..... 681B437C: 0070004f 00440074 00700065 00780045 O.p.t.D.e.p.E.x. 681B438C: 006c0063 00000031 002a8224 4d150000 c.l.1...$.*....M 681B439C: 00010000 0040 ....@. id = 30623152 status = 0 first = 0 indid = 2 root = 0 minlen = 100 keycnt = 8 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 117 maxirow = 123 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B427C: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B428C: 00010005 00000000 0001001e 00000000 ................ 681B429C: 00af03af 00000004 3400d008 00000000 ...........4.... 681B42AC: 001f0004 00000000 001f001a 00000000 ................ 681B42BC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B42CC: 00230008 00000000 00010041 00010000 ..#.....A....... 681B42DC: 00af03af 00000004 3400d008 00000000 ...........4.... 681B42EC: 00410007 00000000 001f003d 00010000 ..A.....=....... 681B42FC: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B430C: 00450010 00000000 00230084 00010000 ..E.......#..... 681B431C: 00af03af 00000001 3400d008 00000000 ...........4.... 681B432C: 00630006 00000000 0041003c 00010000 ..c.....<.A..... 681B433C: 00af03af 00000004 3400d008 00000000 ...........4.... 681B434C: 001f0004 00000000 0042001a 00030000 ..........B..... 681B435C: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B436C: 00010005 00000000 0046001e 00030000 ..........F..... name = OptDepExcl1 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182572023808 RowId = (1:19733:64) Slot 15 Offset 0x3a4 -------------------- Record Type = PRIMARY_RECORD Record Attributes = NULL_BITMAP VARIABLE_COLUMNS 681B43A4: 00520030 01d345b0 00000000 00000000 0.R..E.......... 681B43B4: 00030000 00000000 00660000 0001000b ..........f..... 681B43C4: 00000000 00000000 00000000 00000000 ................ 681B43D4: 00000000 00000000 00770000 0000007d ..........w.}... 681B43E4: 00000000 00000000 00000000 00000000 ................ 681B43F4: 001b0000 00000000 01c00003 81e601d6 ................ 681B4404: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4414: 00010008 00000000 00010041 00000000 ........A....... 681B4424: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4434: 001f0007 00000000 001f003d 00000000 ........=....... 681B4444: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4454: 00230010 00000000 00230084 00000000 ..#.......#..... 681B4464: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4474: 00410006 00000000 0041003c 00000000 ..A.....<.A..... 681B4484: 00340134 00050002 00000000 00000000 4.4............. 681B4494: 0042000a 00000000 00420063 00000000 ..B.....c.B..... 681B44A4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B44B4: 00010008 00000000 00010041 00030000 ........A....... 681B44C4: 00af03af 00000004 3400d008 00000000 ...........4.... 681B44D4: 001f0007 00000000 001f003d 00030000 ........=....... 681B44E4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B44F4: 00230010 00000000 00230084 00030000 ..#.......#..... 681B4504: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4514: 00410006 00000000 0041003c 00030000 ..A.....<.A..... 681B4524: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4534: 00440004 00000000 0042001a 00010000 ..D.......B..... 681B4544: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4554: 00480005 00000000 0046001e 00010000 ..H.......F..... 681B4564: 0070004f 00440074 00700065 00780045 O.p.t.D.e.p.E.x. 681B4574: 006c0063 00000032 002a8225 4d150000 c.l.2...%.*....M 681B4584: 00010000 0041 ....A. id = 30623152 status = 0 first = 0 indid = 3 root = 0 minlen = 102 keycnt = 11 groupid = 1 dpages = 0 reserved = 0 used = 0 rowcnt = 0 rowmodctr = 0 reserved3 = 0 reserved4 = 0 xmaxlen = 119 maxirow = 125 OrigFillFactor = 0 StatVersion = 0 reserved2 = 0 FirstIAM = 0 impid = 0 lockflags = 0 pgmodctr = 0 keys -------------------------------- 681B4404: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4414: 00010008 00000000 00010041 00000000 ........A....... 681B4424: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4434: 001f0007 00000000 001f003d 00000000 ........=....... 681B4444: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4454: 00230010 00000000 00230084 00000000 ..#.......#..... 681B4464: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4474: 00410006 00000000 0041003c 00000000 ..A.....<.A..... 681B4484: 00340134 00050002 00000000 00000000 4.4............. 681B4494: 0042000a 00000000 00420063 00000000 ..B.....c.B..... 681B44A4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B44B4: 00010008 00000000 00010041 00030000 ........A....... 681B44C4: 00af03af 00000004 3400d008 00000000 ...........4.... 681B44D4: 001f0007 00000000 001f003d 00030000 ........=....... 681B44E4: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B44F4: 00230010 00000000 00230084 00030000 ..#.......#..... 681B4504: 00af03af 00000001 3400d008 00000000 ...........4.... 681B4514: 00410006 00000000 0041003c 00030000 ..A.....<.A..... 681B4524: 00af03af 00000004 3400d008 00000000 ...........4.... 681B4534: 00440004 00000000 0042001a 00010000 ..D.......B..... 681B4544: 00af03af 0000001e 3400d008 00000000 ...........4.... 681B4554: 00480005 00000000 0046001e 00010000 ..H.......F..... name = OptDepExcl2 statblob = [TextPointer] ------------------------------------------------ TextTimeStamp = 182572089344 RowId = (1:19733:65) DBCC execution completed. If DBCC printed error messages, contact your system administrator. DBCC execution completed. If DBCC printed error messages, contact your system administrator. Now, the bad news. I am a bit of a novice and have picked this up from someone who left my company. It appears the latch error has been around for some time and only reared up when I instituted a new back up system that runs a dbcc check befor backing up. I don't think I have any clean backups. Any help would be greatly appreciated. Alex Mauer
View 17 Replies
View Related
May 11, 2006
What factors would make you decide to use DBCC DBREINDES instead of DBCC DEFRAG when you notice index defragmantation? Thanks. ekareem
View 1 Replies
View Related
Sep 21, 2007
Hello Which is better and faster?? and WHY????Writing Select Statement with joins in Stored procedure, or creating view and calling it from stored procedure (select * from view)..
View 4 Replies
View Related
Jan 13, 2004
Hi Dont laugh but... I am not entirely ignorant to web technologies, and best practices but i am having a bit of a planning dylema. My company has a well established SQL 2000 database with windows application which has been created by myself, what i am planning on doing is creating a web site, using asp.net and publishing some of the information, so that our clients may use it, and stop pestering us on the phone. what i would like to know is what would be the best way forward, obviously i don't want to show them all our information, and don't want to put 5Gb worth of data onto a ISP website. What would you suggest i do? Thanks in advance Brad
View 1 Replies
View Related
Jun 8, 2004
DECLARE @returnDay int SELECT @returnDay = DatePart(day,GetDate()) If @returnDay = 8 BEGIN select * from Hospitals left join Units ON Units.HospitalID = Hospitals.HospitalID where Units.HospitalID is null RETURN END this is just a part of the procedure I am trying to create, I am getting hospitals that haven't submitted any data and wish to send them an email. on the other hand I have two tables that have all the data for emailing to hospitals but are not linked to tables giving the list of hospitals I have been advised to create a cursor(easier said then done) that will go through my list of records that need to receive an email nothing going very well with that at the moment. so I was hoping to see if somebody has any other suggestions for me.....
View 1 Replies
View Related
Apr 19, 2004
Hi, I am trying to solve this procedure. Let me try to explain it...I am getting DEGREEID from one of the SELECT query . I want to OUTPUT (ie , COUNT) from procedure,the number of departments with the degreeid, got from the above query. With below procedure, Since an employee can have multiple DEGREEID , the cursor is giving OUPTUT ie, COUNT for the LAST Degreeid. Eventhough the previous DEGREEID dont have any DEPARTMENT...but only for the LAST DEGREEID...! How can I solve this..... whether I can solve this with CURSOR or I have to use someother way...Please advice me ! DATA ------- DEGREE_EARNED --------------------- EMPID DEGREEID ------ ------------ 201 12 201 3 201 250 202 3 202 10 203 17 DEPARTMENT --------------- DEPID DEGREEID ------ ------------ 10 1 12 111 250 111 12 121 3 121 12 121 250 ------------------------------------ -------------------------------------------------------------------- DECLARE @vchid int DECLARE testcursor CURSOR FOR SELECT degree_id FROM degree_earned WHERE emp_id= @empid OPEN testcursor FETCH NEXT FROM testcursor INTO @vchid WHILE (@@FETCH_STATUS <> -1) BEGIN Select @outresult = COUNT(*) from department where degree_id = @vchid FETCH NEXT FROM testcursor INTO @vchid END --------------------------------------------------------------------
View 4 Replies
View Related
Mar 15, 2006
I tried to run a SQL script and i get the following message quote:Error Message = Native SQL Error Code [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ''. SELECT name, id, description FROM products WHERE id=4INSERT INTO ''admin_login'' (''login_id'', ''login_name'', ''password'', ''details'') VALUES (252,''neo2'',''newpas5'',''NA'')-- Error Code : 350 F:InetpubParexeldefault.ihtml iSQL dbname="Parexel" ALIAS="prod" SQL="SELECT name, id, description FROM products WHERE id=4INSERT INTO 'admin_login' ('login_id', 'login_name', 'password', 'details') VALUES (252,'neo2','newpas5','NA')--" [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near ''.SELECT name, id, description FROM products WHERE id=4INSERT INTO ''admin_login'' (''login_id'', ''login_name'', ''password'', ''details'') VALUES (252,''neo2'',''newpas5'',''NA'')-- Im new to SQL and i dont know what im doing Also what does this mean quote:iSQL dbname="admin" ALIAS="prod" SQL="SELECT name, id, description What do SQL databases do and what would i need to do to enter data in to SQL such as a email address or cant that be done? I think dbname is the database name ALIAS is that the table name? im just trying to enter data in to my database database and i have no clue what im doing. Iv read guides online but i get the above error 350 D
View 6 Replies
View Related
Jul 18, 2006
Hi all, My first request for help here even if I read this site quite often and got tons of usueful information. Thanx all I have an application (VB 6) calling store procedure on a SQLServer 2000 DB. One of the table gives me headache. I wrote a simple store procedure to insert a record into that table. If I call the store procedure from query manager it works perfect but if I call it from VB it looks like to work (return from the execute fine) but then I query the table for that record and it'll just take time and then return time out. I have to stop the VB application and then query it again then it'll return no record. I suspect the table being locked somehow but I check inside the VB app code and that's the only place the table is called. Further more I have hundred of store procedures being used that way and they're all ok. I indexed the table , no use either... I am just short of ideas how to debug this...I'll need your advice :) thank you
View 9 Replies
View Related
Feb 6, 2006
Okay, given my newness to SQL, and the complexity of this query, I thought I'drun this by you for your opinion:SELECT DISTINCT a.WeekEnding, c.lastdate, c.numlate, b.totaldateFROM Accomplishment a LEFT OUTER JOIN(SELECT weekending, COUNT(weekending) AStotaldateFROM AccomplishmentWHERE (EmployeeID = 50)GROUP BY weekending) b ON a.WeekEnding =b.weekending LEFT OUTER JOIN(SELECT weekending, MAX(entrydate) ASlastdate, COUNT(weekending) AS numlateFROM accomplishmentWHERE employeeid = 50 AND entrydate >weekendingGROUP BY weekending) c ON a.WeekEnding =c.weekendingORDER BY a.WeekEndingWhat I'm trying to do is for each pay period find which ones the employeesubmitted a timesheet and which they were late (and if they were late, howmany of them). However, the query takes a good 5 seconds, and it seemsremoving the "entrydate > weekending" clause speeds things up to almostinstant, however it does ruin the count that I really want. No idea whythat makes such a difference..
View 4 Replies
View Related
Oct 28, 2006
hellooo I have an Accounting system(vb.net 2003, SQL server 2000), every new year data is cleared, but i may use some data from previous years (such as liabilities)?? whats the best way to that ??? -Shall I create programmatically a new clone DB every year (new DB with same structure as previous year) OR -Shall I add a "year field" for tables in DB???? knowing that data will keep growing every year?????? whats the best solution, knowing that i dont want the end user of my application to do anything manually, such as creating DB ...... Thank you
View 14 Replies
View Related
Jul 11, 2007
I have a couple of files that I have that are comma seperated, and am looking for the best way to take those files, but them in a temp location to run some sql up against, and than update or insert a production sql database based on a SP i have written that takes a number of variable. I have played around with using the recordset destination and defining all the variables and than using a for each loop but seem to be stuck. Somewhat new to the whole programming field, and to be honest, seems a little intimidating with the little I know of the programming side. Just looking for some thoughts.
View 1 Replies
View Related