I have put together what I think you are asking for:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tbl_RM_Materials]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[tbl_RM_Materials]
GO
CREATE TABLE [dbo].[tbl_RM_Materials] (
[RM_ID]...