Foxers,
We are developing an application that uses two distinct databases, the
default dabatabe set in the connection string, and a second one used in
some subqueries. Is it possible to create an alias to the second
database ? Think about a future database migration, I don´t want to use
the literal name of the database ("CustomerData.dbo").
eg:
SELECT A.ProdId,A.ProdName,B.Price AS CustomerPrice
FROM Products B
INNER JOIN CustomerData.dbo.Products B
--
Aílsom F. Heringer
[EMAIL PROTECTED]
Skype: ailsom.osklen
Analista de Sistemas
----------------------------------
Osklen
Departamento de Informática
Rio de Janeiro - RJ
BRASIL
http://www.osklen.com.br
55 21 22198971
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.