Declare @Query Var-char(100)
select @Query= 'select coalesce(NULL,"test") as testing'
Exec @Query
エラーは
The name 'select coalesce(NULL,"test") as testing' is not valid identifier.
これを修正するには?
Declare @Query Var-char(100)
select @Query= 'select coalesce(NULL,"test") as testing'
Exec @Query
エラーは
The name 'select coalesce(NULL,"test") as testing' is not valid identifier.
これを修正するには?