Jump to content

ihernandez791079

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by ihernandez791079

  1. Anyone have any suggestions.??

     

    I have Table <customers>

     

    I need to query the data points in Column ID ( data type_ Int ) and Column Lot (data type_Int) FROM customers

     

    but what my query is doing is adding this two data points up. and I don't want a SUM result.

     

    ex. if

     

    ID = 100 and Lot = 543 my query result = 643

     

    what I am looking for is

     

    IF

     

    ID=100 and Lot = 543 my query result should be= 100543

     

     

     

    SELECT customers.ID + ' ' +customesr.Lot AS combined FROM customers

     

     

     

     

     

    ANY SUGGESTIONS PLEASE!!!

  2. Anyone have any suggestions.??

     

    I have Table <customers>

     

    I need to query the data points in Column ID ( data type_ Int ) and Column Lot (data type_Int) FROM customers

     

    but what my query is doing is adding this two data points up. and I don't want a SUM result.

     

    ex. if

     

    ID = 100 and Lot = 543 my query result = 643

     

    what I am looking for is

     

    IF

     

    ID=100 and Lot = 543 my query result should be= 100543

     

     

     

    SELECT customers.ID + ' ' +customesr.Lot AS combined FROM customers

     

     

     

     

     

    ANY SUGGESTIONS PLEASE!!!

×
×
  • Create New...