Jump to content

access from another database


sugan

Recommended Posts

You didn't say which database you're using or how you're using it, but most databases allow some sort of dot notation to refer to a database and table name. Check the documentation for the database you're using to see how to reference a database and table name together. Depending on how you're connecting to the database you might not be able to do what you want.

Link to comment
Share on other sites

E.g. (in MySQL) selecting a table mytable from a different database anotherdb

SELECT * FROM anotherdb.mytable

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...