Use this script to create the table "text_tab," which you will use to run the sample program in the following section:
use tempdb
go
if exists (select 1 from sysobjects
where name = 'text_tab' and type = 'U'
)
drop table text_tab
go
create table text_tab (
text_col text null,
image_col image null)
go