BookmarkSubscribeRSS Feed
ANIRBAN2
Fluorite | Level 6

ANIRBAN2_0-1663260790469.png

I am just trying to update a datasets in the server getting this error msg can any1 help

How to resolve the issue.

1 REPLY 1
Tom
Super User Tom
Super User

@ANIRBAN2 wrote:

ANIRBAN2_0-1663260790469.png

I am just trying to update a datasets in the server getting this error msg can any1 help

How to resolve the issue.


Why not just make a NEW dataset?  (Personally I have never had much use for the SQL UPDATE statement.)

 

You can give it the same name if you want. (Note post code as text instead of photographs if you want more complete responses.)

data aaa.tb_all_swap;
  set aaa.tb_all_swap;
  if (... type your condition here..) then targetvar='newvalue';
run;

But if there are actual encoding issues it might mess up some of the existing data.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1217 views
  • 0 likes
  • 2 in conversation