>>You have such tool already. In SSMS you can generate a GREATE TABLE script. It'll include CREATE INDEX statements as well.
Sergey - I tried that. It generated the script for the table, but not for the indexes.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.