Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Alter A Partitioned Table Column DataType.


Alter A Partitioned Table Column DataType.

Author
Message
bhushanvinay
bhushanvinay
Old Hand
Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)Old Hand (329 reputation)

Group: General Forum Members
Points: 329 Visits: 196
Yes Paul this is what i was after,

2008 test page copied from your output.

Slot 0 Column 3 Offset 0x8 Length 5 Length (physical) 5
z = 200.08




2005 test dbcc page shows the following Where is the data?

DROPPED = È
z = [NULL]




you should also notice one more thing that the Column order in SqlServer 2005 is 0 based index and 2008 is 1 based index although this is not my question, In Sql Server 2005 where is the data gone?

Regards
Vinay
Paul White
Paul White
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10338 Visits: 11350
I only have SQL Server 2005 SP3 CU7 version 9.0.4273 installed, I'll test it on that later.



Paul White
SQLPerformance.com
SQLblog.com
@SQL_Kiwi
Paul White
Paul White
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10338 Visits: 11350
Confirmed on the 2005 installation I referenced before. BUT this is just a decoding/display problem in DBCC PAGE with type 3 output - the data is there in the page record data, and appears in queries of course. Microsoft don't support or document DBCC PAGE, so you're just going to have to live with it, I'm afraid ;-)



Paul White
SQLPerformance.com
SQLblog.com
@SQL_Kiwi
drc2100
drc2100
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 26
So the verdict is no data corruption or significant performance issue?

I changed the data type from int to bigint and from image to varbinary(max) on a small partitioning table, it works, can I issue the altering column on a large partitioning table? I am working on sql server 2012 enterprise edition.

Thanks.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search