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 |
|
lesbail
Starting Member
3 Posts |
Posted - 2009-02-04 : 09:32:38
|
| HiI have just started looking at Sql 2005 I am usually a Crystal reports man really. I am looking to create a view from several databases that we have on Sql to create a deptors report for the all companies. Is this possible or am I barking up the wrong tree?Thanks in advanceLes |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-02-04 : 09:40:23
|
yup. its possible. something likeCREATE VIEW YourViewASSELECT columns...FROM db1.dbo.table1UNION ALLSELECT columns...FROM db2.dbo.table2UNION ALLSELECT columns...FROM db3.dbo.table3.... |
 |
|
|
lesbail
Starting Member
3 Posts |
Posted - 2009-02-04 : 12:44:09
|
| Thats done the trick thanks |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-02-04 : 12:46:14
|
welcome |
 |
|
|
|
|
|