sql server - Splitting a huge table to small tables -
i have table in microsoft sql server 2008 r2 has 100,000 records .
i need split 10 tables each 10k records .i don't want partition table ,but split entirely 10 different tables .is possible ?
you can use ntile
;with cte ( select ntile(10) on (order somepk column) somecol ,* table ) select * cte n=1--change n value each partition
Comments
Post a Comment