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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-01-05 : 08:08:39
|
| Vishwas writes "hi therei have 2 table with same structure.i want retrive data from bith table but remove duplicate entry by using single sql querytable 1col1 12357table 2col12346out must be as follows1234567i have tried out with union and join but not get what i wantvishwas" |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2005-01-05 : 08:38:02
|
| select col1 from table1unionselect col1 from table2order by col1==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
|
|
|