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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking tables with different data types

Status
Not open for further replies.

smilbert

IS-IT--Management
Aug 28, 2006
36
US
Using CRXI and MS SQL Svr 2000

I'm trying to compare data in two different databases. There is a common value, however, one vendor stores it as a number and the other a string.

Other than a SUB-REPORT (very slow), is there any way to add this table and LINK with a formula (ToStr(X))??

TIA
 
You can use command line, something like:

Select * from table1 inner join table2 on table1.field = ToStr(Table2.field)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top