Hi,
We have a datamart in SQL Server. Any SQL with a unicode filter does not return data.
Sample SQL
select * from dbo.dim_addr_mtch_mstr
where org_full_nm = '??????'
I can get results back if i prefix a N before the literal.
select * from dbo.dim_addr_mtch_mstr
where org_full_nm = N??????'
In our case, the problem is the SQL is dynamically generated by a reporting tool and it is not possible to prefix a N before string literals. Is there any default character code setting at the database level that enables the SQL server to treat the literals as unicode without prefixing 'N'.
thanks,
Shramana
We have a datamart in SQL Server. Any SQL with a unicode filter does not return data.
Sample SQL
select * from dbo.dim_addr_mtch_mstr
where org_full_nm = '??????'
I can get results back if i prefix a N before the literal.
select * from dbo.dim_addr_mtch_mstr
where org_full_nm = N??????'
In our case, the problem is the SQL is dynamically generated by a reporting tool and it is not possible to prefix a N before string literals. Is there any default character code setting at the database level that enables the SQL server to treat the literals as unicode without prefixing 'N'.
thanks,
Shramana