Guest_imported
New member
- Jan 1, 1970
- 0
in this subquery or aggregate expression.
Is there any way around this error???
Heres my SQL Statement.
NOTE: data in columns are declared as ntext
declare @variable as sysname
Update [User_table]
set [User_table.Field_name] = (select case @variable
when 'Field_name1' then Field_name1
when 'Field_name2' then Field_name2
when 'Field_name3' then Field_name3
end as Response1
from [System_table]
where System_table.primekey = @primekey)
where User_table.primekey = @primekey and User_table.userid = @Userid
Is there any way around this error???
Heres my SQL Statement.
NOTE: data in columns are declared as ntext
declare @variable as sysname
Update [User_table]
set [User_table.Field_name] = (select case @variable
when 'Field_name1' then Field_name1
when 'Field_name2' then Field_name2
when 'Field_name3' then Field_name3
end as Response1
from [System_table]
where System_table.primekey = @primekey)
where User_table.primekey = @primekey and User_table.userid = @Userid