Browse DevX
Sign up for e-mail newsletters from DevX


Tip: Quick Tip for Removing Ambiguity in Database Queries

Learn why it's helpful to fully qualify database objects so that there is no place for ambiguity.


Often, we see ambiguity in accessing database objects as they exist in multiple databases and schemas. One easy way is to fully qualify the database objects, so that there is no place for ambiguity and it provides great readability.

For example:

 SELECT Name, Age from DataStore.Employee.Info
DataStore ??? is the name of the database
Employee ??? is the name of the schema
Info ??? is the name of the table


Visit the DevX Tip Bank


Srinath M. S. says: "I would love to leave a footprint in this flat world."
Thanks for your registration, follow us on our social networks to keep up-to-date