Hey Guys,
i got a stupid problem with making a SQL View and becouse i have zero sql skills i'm trying here
what i have is in total 5 DB's
all the DB's have 10 colum's with info
now i need to make 1 BIG view from those 5 db's but i need to get 11 colums now
first 10 are the same as what is original in the DB and the 11e is the name of the DB (or DB1 -> DB5)
it doesn't have to do anything special .
as a small example
DB1 Calles ANT
DB1 Calles EDE
In the end i should get with a view
View DB
Hope somebody can help me with this
Tnx already
Adam
i got a stupid problem with making a SQL View and becouse i have zero sql skills i'm trying here
what i have is in total 5 DB's
all the DB's have 10 colum's with info
now i need to make 1 BIG view from those 5 db's but i need to get 11 colums now
first 10 are the same as what is original in the DB and the 11e is the name of the DB (or DB1 -> DB5)
it doesn't have to do anything special .
as a small example
DB1 Calles ANT
Code:
Colum1 Colum2 Colum3 Colum4
info1 info2 info3 info4
info4 info5 info6 info7
Code:
Colum1 Colum2 Colum3 Colum4
info8 info9 info10 info11
info12 info13 info14 info15
View DB
Code:
Colum1 Colum2 Colum3 Colum4 Colum5
info1 info2 info3 info4 ANT
info4 info5 info6 info7 ANT
info8 info9 info10 info11 EDE
info12 info13 info14 info15 EDE
Tnx already
Adam