W
Wongalogic
Hi, All:
This SQL with UNICODE characters works OK to me and give me 2 results:
SQL = "Select * from people where name=N'xxx'"
But when I use stored procedure, it doesn't work, give me no results:
SQL = "exec GetName N'xxx'"
Create Procedure GetName
@name as nvarchar(50)
as
select * from people where name=@name
Do you know why? and how to make it work?
Thanks,
Dennis
This SQL with UNICODE characters works OK to me and give me 2 results:
SQL = "Select * from people where name=N'xxx'"
But when I use stored procedure, it doesn't work, give me no results:
SQL = "exec GetName N'xxx'"
Create Procedure GetName
@name as nvarchar(50)
as
select * from people where name=@name
Do you know why? and how to make it work?
Thanks,
Dennis