Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Informix Syntax to join 2 fields

Status
Not open for further replies.

gkrenton

MIS
Jul 2, 2003
151
US
Yes I'm back again. In access the way to combine 2 fields
is
[field name] & "whatever I'm adding the the field"

I'm stumped as to the syntax for Informix though -
&?, |?
Here is the beginning of my code
insert into attributename (Product_ID, Attribute_ID, Name, OrderBy, OSDOrder, IsRequired)

Select Distinct inv_id3,
inv_id3 & "01" as At1,
1 as OrderBy,
1 as OSDOrder,
1 as IsRequired

But that doesn't seem to be doing what I want/expect.

As always thanks for you're assistance.

Gina
 
Replace this:
inv_id3 & "01"
By this:
inv_id3 || "01"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top