sql - To insert single quote values into the table using "insert into" -
i tried insert data 1 table (tablea) table (tableb) using bulk insert cannot succeeded because tablea data has got 1 value-> bermuda 23''-24''
when tries enter value raise error
string or binary data truncated.
my query
insert tablea select size tableb
i try replace single quote empty space size should enter data single quote only. please suggest way out.
you can remove single quote replace function
insert tablea select replace(size,'''','') tableb
Comments
Post a Comment