You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact support.
If you prefer not to see double-underlined words and corresponding ads, place your cursor
What does it do? I'll take a guess that field2 is a character string, and that the SQL modifies chars 34-40 of that string to the new value - in which case:
UPDATE tableA
SET field2 = substr(field2,1,33) || p_var || substr(field2,41)
WHERE 1=1;