Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sqldbaa
Starting Member
32 Posts |
Posted - 2009-04-06 : 10:01:35
|
Hi I have two tablesTable 1Price[Char(11)] TYPE[Char(1)]10.333 S10.3 B10.33 BTable 2Price[Char(11)] TYPE[Char(1)]10.3330 S10.30 B10.333 BI have to make a join on price column.If the there zero after the decimal point, should not be considered.eg. 10.333 and 10.3330 are sameThe output should bePrice TYPE10.333 S10.3 B |
|
sakets_2000
Master Smack Fu Yak Hacker
1472 Posts |
Posted - 2009-04-06 : 10:22:52
|
10.333 is listed for type 'B' too in your 2nd table?? |
|
|
|
|
|