SQL - How to use SUBSTRING function to output as Col Name

前端 未结 0 680
小鲜肉
小鲜肉 2020-12-06 16:43

Is it possible to use the SUBSTRING function in SQL to output the result as Column Name?

Example:

DECLARE @itemname VARCHAR(50) = \'HELLO WORLD\'
SELEC         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题