Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Anton 135 posts 186 karma points
    Feb 21, 2012 @ 03:02
    Anton
    0

    Can you help with SQL?

    I want combine two query

    SELECT  [id],[dataNvarchar]

    FROM [razborka].[dbo].[cmsPropertyData]

      WHERE propertytypeid=92 and [dataNvarchar] IS NOT NULL

     

    SELECT [id],[dataInt]

    FROM [razborka].[dbo].[cmsPropertyData]

    WHERE propertytypeid=30 and [dataInt] IS NOT NULL

     

    But I dont know how, can you help?

    Result

    id |||||||| dataNvarchar |||||||||| dataInt 

  • Rajeev 126 posts 154 karma points
    Mar 14, 2012 @ 13:28
    Rajeev
    0

    Do you want a Union or Join?

    let me know

    -Rajeev

     

Please Sign in or register to post replies

Write your reply to:

Draft