Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Language: SQL
Expertise: Intermediate
Apr 16, 2018



Building the Right Environment to Support AI, Machine Learning and Deep Learning

Quick Tip for Removing Ambiguity in Database Queries

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
Srinath M S
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date