Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

yes

yes

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try like:

Load

          Year(Date#(YeraMonth, 'MMMYYYY')) as Year,

          Month(Date#(YeraMonth, 'MMMYYYY')) as Month

Edit: Added a missing 'Y' in the format

View solution in original post

3 Replies
its_anandrjs

Try with this way

Noconcatenate

Load

*,

Right(YeraMonth,4) as Year

Left(YeraMonth,3) as Month

Resident Source;


Drop table Source;



Regards

Anand


tresesco
MVP
MVP

Try like:

Load

          Year(Date#(YeraMonth, 'MMMYYYY')) as Year,

          Month(Date#(YeraMonth, 'MMMYYYY')) as Month

Edit: Added a missing 'Y' in the format

tresesco
MVP
MVP

This way, Month would be a text field and we should avoid that.