BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Rsadiq
Calcite | Level 5

Hi

 

I am having trouble idenifying an error, its says an oracle error which Ive never seen before

 

ADR.ST_CD in ('MO','TX','WA','AL','KY','MD','MI','OR','NJ') and AC.CREAT_DTTM >= to_date('07032017','mmddyy10.') and P.ENRL_DT is
not null and P.PGM_CATGY_TYP_ID in ('04') and P.PGM_TYP_ID not in ('52','04') and P.MBR_PGM_STS_RSN_TYP_ID = '81' and
P.MBR_PGM_STS_TYP_ID = '05' and p.mbr_id = adr.mbr_id and p.mbr_id = ac.mbr_id and adr.mbr_id = ac.mbr_id ORDER BY M.MBR_ID ) as K ;
NOTE: Compression was disabled for data set INPUT.CLIENT_ICUE_SELECTION because compression overhead would increase the size of the
      data set.
ERROR: Error fetching from cursor. ORACLE error is ORA-01821: date format not recognized.

 

Thanks

 

Rida

1 ACCEPTED SOLUTION

Accepted Solutions
kiranv_
Rhodochrosite | Level 12

this should work

 

to_date('07032017','mmddyyyy')

View solution in original post

2 REPLIES 2
Reeza
Super User

I don't know ORACLE but I'd guess on this being the error:

 

to_date('07032017','mmddyy10.')

kiranv_
Rhodochrosite | Level 12

this should work

 

to_date('07032017','mmddyyyy')

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
  • 2 replies
  • 652 views
  • 0 likes
  • 3 in conversation