Simple.Data coalesce operation in select statement -


can 1 on translating below t-sql statement

simple.data query

select isnull(a.somevalue,b.somevalue),t.id table1 t1 left outer join atable on t1.aid = a.id left outer join btable b on t1.bid = b.id

simple.data doesn't support coalescing in t-sql. standard way around put query in stored procedure , use simple.data call sproc. details can found enter link description here.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -