Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: Linking tables with different data types

$
0
0

hi Matt,

 

a command would probably work...but what's the back end to the accpac system? oracle, sql server?

 

depending on what the back end is, you could do something like

 

WITH
T1 AS
(
SELECT TO_NUMBER(textfield) AS NOWNUM, * FROM TABLE1
),
T2 AS
(
   SELECT * FROM TABLE2
)

 

SELECT * FROM T1, T2
WHERE T1.NOWNUM = T2.NUMBERFIELD

 

i hope this helps,

jamie


Viewing all articles
Browse latest Browse all 8808

Trending Articles