Archana
3/1/2007 7:08:00 AM
Hi all,
I want to return text datatype from stored procedure. So what i did is
used varbinary as output paramter to stored procedure.
My Store procedure is
CREATE proc test_text
@outtext varbinary(16) output
AS
begin
declare @ptr varbinary(16)
select @ptr = TEXTPTR(addr) from emp where id = '1000110109'
print @ptr
set @outtext = @ptr
end
GO
How will i get actual address in code which i have written in c#.
Means how to convert varbinary to string in C#.
Any help will be truely appreciated.
thanks in advance.