jeffinperth
Technical User
Hi All,
Have read BOL and I think I'll need to use cast or convert, but i still can't get my head round this.
in oracle we have a varchar field that contains a period name in the format 'MON-YY' , i can use the following
where to_date(b.period_name,'Mon-yy') between to_date('Jan-03','Mon-yy') and to_date('Feb-03','Mon-yy')
Could somebody please help me out with the TSQL equivalent, if the table was imported into SQL Server 2000.
Regards
Jeff
Have read BOL and I think I'll need to use cast or convert, but i still can't get my head round this.
in oracle we have a varchar field that contains a period name in the format 'MON-YY' , i can use the following
where to_date(b.period_name,'Mon-yy') between to_date('Jan-03','Mon-yy') and to_date('Feb-03','Mon-yy')
Could somebody please help me out with the TSQL equivalent, if the table was imported into SQL Server 2000.
Regards
Jeff