Limlim,
Please post table definitions and some sample data. Your problem does
not look that challenging and there is probably a simple reason that
you're having trouble with it.
> i am trying to build a query in sql that compares between 2 tables
> one
> hold to field and the other hold the 2 fields in one
> example:
> table1:EN,12
> table2:EN.12
> how can i compare between the tables throw that field
> i try with this query but it doesnt work:
>
> SELECT * FROM dbo.CNT_DOC_LANGS x INNER JOIN dbo.CNT_DOCS2QUEST y ON
> (CAST(x.DOC_ID AS varchar) + '.' + RTRIM(x.LANG)) t = y.SRC_ID
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology [EMAIL PROTECTED]
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html