Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)

  • RE: xml problem

    If you are just selecting data from an sql server table and want to output it in XML format, try this:

    SELECT

    txtname

    ,txtdob

    ,nomname

    ,nomadd

    FROM myTable as root

    FOR XML AUTO,ELEMENTS

  • RE: problem with old style joins *=

    Agree.

    Always use the SQL92 syntax. Outer joins weren't standardized before this and can return unusual results. -down to the fact that the WHERE clause is not associative. See BOL.

  • RE: not inquery help

    Are there any NULL ID's in #temp3

    If so, you won't get any results.

    If this is the case, either add a clause AND ID IS NOT NULL when selecting from...

Viewing 3 posts - 1 through 3 (of 3 total)