Report question

Question: Want to create a script to export Data and tables and views to a sql script