Merge branch 'tsql-improvements' into 'master'

Tsql improvements



See merge request !5
3 jobs for master in 2 minutes and 45 seconds (queued for 9 seconds)