if exists (select * from dbo.sysobjects where id = object_id(n'[dbo].[testfiles]') and objectproperty(id, n'isusertable') = 1) drop table [dbo].[testfiles] go
create table [dbo].[testfiles] ( [id] [int] identity (1, 1) not null , [myfilename] [varchar] (50) collate chinese_prc_ci_as not null , [filetype] [varchar] (50) collate chinese_prc_ci_as not null , [myfile] [image] not null ) on [primary] textimage_on [primary] go