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 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 703 views
  • 0 likes
  • 2 in conversation