Welcome to Sign in | Help

Re: 2006-04-07

  •  04-07-2006, 1:41 PM

    Re: 2006-04-07


    ...is it al right to specify an ISNULL function in the select list, for example:
           SELECT Col1, ISNULL(Col2, 0) FROM Tab1
           FOR XML AUTO, ELEMENTS
        or
        SELECT Col1, ISNULL(Col2, '') FROM Tab1
           FOR XML AUTO, ELEMENTS
       
        ...the result for Col2 will look like <Col2>0</Col2> or <Col2></Col2>


View Complete Thread
Powered by Community Server (Commercial Edition), by Telligent Systems