Viewing 3 posts - 1 through 3 (of 3 total)
In T-SQL, I use this query to get the Partition Schema Number. I'm partitioning on a date column in the partition table.
SELECT
$partition.OrderDetailDatePartitionFunction(o.<date column>)
...
August 17, 2010 at 3:38 pm
#1208175
The first thing I would recommend is to change from caching the 70+ table on startup to only read the table data in as need – just-in-time (when the user...
July 26, 2010 at 2:39 pm
#1198443
I like the script; I had to make a small exchange to get it to work correctly. In the subquery where the temp table #tmpjoins is generated, I had...
July 16, 2010 at 3:28 pm
#1194395