tsql default value when no value returned by query

Solutions on MaxInterview for tsql default value when no value returned by query by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "tsql default value when no value returned by query"
Maja
27 Sep 2016
1SELECT ISNULL(MIN(val), 'DEFAULT')
2FROM myTable
3