I need to get DDL scripts for few tables in SQL server. In Oracle I did the same using below query
Select DBMS_METADATA.GET_DDL('TABLE','TABLE_NAME','DATABASE_NAME') AS DB from DUAL";
Any Idea how to get the same in SQL server in case we have the table name and corresponding schema name???