Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Is a Cast/Convert required here?

$
0
0

Just imagine all the right stuff is in between - the question is about the setting the xml @response = to the varchar @xml_output.

CREATE PROCEDURE [dbo].[sp_test]
(....
@response XML OUTPUT   )
AS
...
@xml_output VARCHAR(max)
...

SET @response = @xml_output  --<<<<here

Thanks!
G


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>