0 - 1 of 1 tags for Store DDL in SP

Hi , 
Please help me to create a SP which should get tablename as INPUT variable and store the DDL of the object and drop the table and recreate the same from the variable . I need to use this in place of FLOAD lock .
Thanks in Advance !!!