Dear Corpse, (I hope that is not how you really are. )
It would depend on what your rotary table and controller want to "see" to index the table. G00 A5. would move a Haas table 5 degrees.
Do you have any manuals with your table? Or your controller?
As for the G code thing do a search here and you should finds several posts. I remember one just the other day Started by a Kathy, that had some good links.
Here is a link to that post. http://www.cnczone.com/forums/showth...highlight=code
Unfortunately ever controller can use different G codes. So again it would be depend on what you are using. Same thing with canned cycles.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)