sql - ordering nvarchar values with number -


i have query below returns questions , orders them book reference working fine issue having book reference nvarchar filed type, example values 'chapter 1 section 1' , 'chapter 10 section 1','chapter 3' 'chapter 2 section 1'.

i problem coming the data being returned in orrder

select * quest order bookreferance asc 


Comments

Popular posts from this blog

jquery - isAjaxRequest always return false -

php - SPIP: From Tag directly to an article -