Yes, take a look at the toolbar above the message when you write it and the very last button (close to HTML button). Pressing this button allows you to insert a code block and select a language. Internally it resolves to pre tags (with the code attribute).
-- THIS IS SQL code SAMPLE
select * from cashmgmt where closeout = 6
select * from servbank
--update top (20) cashmgmt
--set closeout = 6, entrytype = 2
--declare @t table (FirstName char(10))
--insert into @t
--select 'Test'
--union all select null
--union all select SPACE(10)
--select CASE when LEN(FirstName) > 0 then FirstName else 'First Name Not Found' end as FirstName from @t
For every expert, there is an equal and opposite expert. - Becker's Law
My blog