danny-t
01-14-2004, 07:53 PM
I'm tryin to query an old database to rearrange it to a format that will fit a newer one with completely different table layouts, field types etc... yeah tryin to hammer a square peg into a round hole! But what client wants...
Anyway being the sql-inept bod that I am I could do with some help on the following. Is there some way that if a record has value x then display value y? E.g. in old db records are given values such as "bus", "mot" and "sal" whereas in the new db these would be 1, 2 and 3. Can I query the old table to say if value is "bus" then show 1 etc.
Hope that makes sense to ya (doesn't to me! :whoops: )
Cheers
Anyway being the sql-inept bod that I am I could do with some help on the following. Is there some way that if a record has value x then display value y? E.g. in old db records are given values such as "bus", "mot" and "sal" whereas in the new db these would be 1, 2 and 3. Can I query the old table to say if value is "bus" then show 1 etc.
Hope that makes sense to ya (doesn't to me! :whoops: )
Cheers