I have seen sql statements using nolock and with(nolock) e.g -
select * from table1 nolock where column1 > 10
AND
selec
They are both technically correct, however not using the WITH keyword has been deprecated as of SQL 2005, so get used to using the WITH keyword - short answer, use the WITH keyword.