BookmarkSubscribeRSS Feed
Riteshdell
Quartz | Level 8

Hello All,

 

Its very Urgent. I need your valuable help.

I have a Data set. and  it consist of 3500 Rows, Wrongly I have updated some thing else.

 

I was updaing for 2-3 rows, but it got updated for all 3500 rows. and i don't have back up too.

 

Please help me to do undo changes if possible through.

 

I was doing updation, through proc sql;

update table_name;

 

 

Please help me , if it is possible to undo the changes in table.

 

 

Thanks ,

Ritesh

3 REPLIES 3
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Well, SAS isn't a database so it doesn't have rollback functionality or audit trail.  I am not familiar with EG any more, does that have audit history in it, didn't last time I looked.  If its data on a server then the likelihood is that your IT group willl mirror the data each night - if you contact them and them to restore the file to the way it was the day or timepoint before you made a change then you should be able to get it back, can't think of a simpler way.  Take it as a tip for the future - never modify source data - extract source data to working data and manipulate that.  

Kurt_Bremser
Super User

Have the last backup restored. If you don't have a backup, you need to rerun the original creation path of the dataset.

ALWAYS have a backup of production data, and ALWAYS keep your programs (including previous versions) so you can recreate data if you have to step back.

 

If you don't have a backup, you just received one of the most important lessions in data processing.

Riteshdell
Quartz | Level 8
Thanks @kurtbremser- I understood, next time i will always take a backup..

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 2383 views
  • 1 like
  • 3 in conversation