How to split records evenly into 4 tables from one table?
I have to design a solution that will help me out to load data into 4 tables from 1 master table. All that the function or package is supposed to do is following : Count total number of rows in a master table Divide by 4 Load into table 1,2,3 and 4. Every time we run the program, this function wipes out 4 tables and do the above process again and the name of the main table and of the destination tables will be always same. For example, if the Master Table has 4200 records then : Table A will get 1-1000 Table B will get 1001-2000 Table C will get 2001-3000 Table D will get 3001-4200. Can anyone
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.