home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / database / 6326 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.5 KB

  1. Path: sparky!uunet!wupost!cs.utexas.edu!uwm.edu!ogicse!emory!athena.cs.uga.edu!castor!howard
  2. From: howard@castor.cs.uga.edu (Les Howard)
  3. Newsgroups: comp.databases
  4. Subject: Help needed with a querry
  5. Message-ID: <1992Aug26.031803.1055@athena.cs.uga.edu>
  6. Date: 26 Aug 92 03:18:03 GMT
  7. Article-I.D.: athena.1992Aug26.031803.1055
  8. Sender: news@athena.cs.uga.edu
  9. Distribution: usa
  10. Organization: University of Georgia, Athens
  11. Lines: 24
  12. Originator: howard@castor
  13.  
  14. I am trying to insert items into one field of a table generated by 
  15. concatanating two fields in another table.  Example of desired results.
  16.  
  17.     TABLE1                     TABLE2
  18.    LOT      LOCATION                 LOTLOC
  19. --------   ----------                    --------
  20. 081992         OpFloor                081992OpFloor
  21. 081992         Warehouse                081992Warehouse
  22. 082092         Warehouse                082090Warehouse
  23.  
  24. I am envisioning using a querry probably based on something like.
  25. INSERT INTO TABLE2 (LOTLOC) SELECT LOT,LOCATION FROM TABLE1
  26. Does anyone have any good ideas on how to make this work?  
  27. All the fields I want to concatanate are strings.  I am using
  28. SQL in the querry manager from OS/2 1.3.  Please reply to me by 
  29. email as our news feed is occasionally flakey here.
  30.  
  31.     Thanks,
  32.  
  33. -- 
  34. ===========================================================================
  35. Mr. Leslie P. Howard                    "Mr. Lehrer's muse (is) not    
  36. University of Georgia                    fettered by such inhibiting  
  37. howard@castor.cs.uga.edu                 factors as taste"...New York Times 
  38.