TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Brian OSullivan
NA
2
557
Access IIF to SQL Statement convert
Dec 16 2020 9:52 AM
I'm trying and failing miserably to convert an Access Expression to SQL query
The MS Access Expression strips the following field data formats to extract the middle text between the 2 hyphens
2C00P02-CRIW-93201 (Extracted value: CRIW)
Any help appreciated
Left
(Mid([LINE_NUM],IIf(Len(
Left
([LINE_NUM],InStr([LINE_NUM],
"-"
)))=0,1,Len(
Left
([LINE_NUM],InStr([LINE_NUM],
"-"
)))+1)),InStr(Mid([LINE_NUM],IIf(Len(
Left
([LINE_NUM],InStr([LINE_NUM],
"-"
)))=0,1,Len(
Left
([LINE_NUM],InStr([LINE_NUM],
"-"
)))+1)),
"-"
)-1)
Reply
Answers (
1
)
SQL Server - Time Difference in 24-Hour Format
Hello. Can any one help me with FullTextSearch in MySql? I Have fullte