HI Team
I have an view where it would be pulling multiple columns from few tables and union into the different set of queries ,
here we are passing Nulls as column names for the couple of column in the table, and trying to update the data view , it is getting failed
select
Null as name
Null as id
Null as batch
from table
union all
select
Null as name
Null as id
Null as batch
from table
like this the query is made,i have getting the fllow error,while i execute the view,but the view is updating fine,while retriving the data from the view we were getting this error
i was really tried to get soluction out of this,can some one please help me on this topic.
"Error converting data type nvarchar to numeric."
I have made check the data types and meta data,all looks identical, i obeseve one thing here, i pass some value like '0' its is getting executed,but i supposed to insert null values into this fields.
please provide some insist on this