query modification

I am running the following script, I need to express the b.account code result

180012003110050,  I need to show 100 in its own column, the 100 is 5 to the left at the end of the b.account result, how do you express that in the query below and put the 100 result in a separate column?

I have attached the query
Amanda WalshawBusiness Solutions AnalsystAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Define 'the 100', preferably with a before and after mockup.  
No clue what you're asking here.
select a.doc_ctrl_num, a.trx_ctrl_num, a.apply_to_num, a.apply_trx_type,
a.doc_desc, a.batch_code, a.trx_type,
dateadd(day, a.date_entered - 693596,0) as 'date entered',
dateadd(day, a.date_posted - 693596,0) as 'date posted',
dateadd(day, a.date_applied - 693596,0) as 'date applied',
SUBSTRING(b.account_code, 11, 3) as Number
from artrx a
join artrxage b
on a.trx_ctrl_num = b.trx_ctrl_num
where a.date_applied >= 735050
and a.date_applied  <= 735080

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I think he just wants the substring of that number
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Let's let the OP define his own requirements.
of course
I was just taking a guess :)

quite an impressive resume btw
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:

I'm not trying to dog you, but I notice a lot of questions where the asker either doesn't understand their own requirements, or doesn't state them fully / clearly in the question, so I've found it useful to flush it out of 'em first.
wasn't even thinking that
no worries. It's all about lending a hand to the poster
Amanda WalshawBusiness Solutions AnalsystAuthor Commented:
correct substring syntax was required thanks.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.