i tried to take out script
How/With which tool?
tried export feature it transfered image col also but it did not transfered indexs and triggers etc.
The Export/Import wizard creates only the plain table without anything else, even not the primary key.
You can use the Script Generating Wizard of SSMS:
https://learn.microsoft.com/en-us/sql/ssms/scripting/generate-scripts-sql-server-management-studio?view=sql-server-ver16