Surrendermonkey
March 27th, 2001, 04:47 AM
Probably very simple, but I can't find the solution on my own...:-)
I wish to run a simple join select query on two tables in SQL Server 6.5. The problem lies in that the tables in question are identically named and located on different databases on different servers.
I have tried qualifying the table names with servername.databasename.owner.table, but receive the "maximum prefixes is two" error. Fair enough.
My intention is to have the Server names and database names passed to vb on the command line (The tables' name does not change), so I cannot perform any design-time tricks like linking the tables into access.
How can I implement this?
Thanks people,
surrendermonkey.
Colon-Hyphen-Close-Bracket
I wish to run a simple join select query on two tables in SQL Server 6.5. The problem lies in that the tables in question are identically named and located on different databases on different servers.
I have tried qualifying the table names with servername.databasename.owner.table, but receive the "maximum prefixes is two" error. Fair enough.
My intention is to have the Server names and database names passed to vb on the command line (The tables' name does not change), so I cannot perform any design-time tricks like linking the tables into access.
How can I implement this?
Thanks people,
surrendermonkey.
Colon-Hyphen-Close-Bracket