Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Paratitioning Ranges

Author  Topic 

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2008-05-27 : 04:59:41
after i create a paratiotion, i want to see the ranges.
when i tried to do :

SELECT *
FROM sys.partitions
WHERE OBJECT_ID = OBJECT_ID('MyPartitionedTable')


i got the paratition data but not the ranges themselfs.
how can i do this?
thnaks in advance
peleg

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)

pelegk2
Aged Yak Warrior

723 Posts

Posted - 2008-05-27 : 09:00:40
found it
[url]SELECT * FROM SYS.PARTITION_RANGE_VALUES[/url]

Israel -the best place to live in aftr heaven 9but no one wan't to go there so fast -:)
Go to Top of Page
   

- Advertisement -