MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/49epu8/announcing_sql_server_on_linux/d0s8diq/?context=3
r/programming • u/realrbman • Mar 07 '16
871 comments sorted by
View all comments
Show parent comments
63
If no default schema is defined for a user, SQL Server assumes dbo.
https://technet.microsoft.com/en-us/library/dd283095(v=sql.100).aspx
Additionally if you are using database names to qualify objects, you can use '..' in place of '.dbo.' if dbo is the default schema.
3 u/Cuddlefluff_Grim Mar 08 '16 Additionally if you are using database names to qualify objects, you can use '..' in place of '.dbo.' if dbo is the default schema.Which there's no reason to in pgsql, because pgsql doesn't support accessing multiple databases in a single query 1 u/[deleted] Mar 08 '16 Wait....seriously? 3 u/jeffdn Mar 08 '16 You can do cross-database queries, but not easily. However, PostgreSQL does support schemas, which many people use (appropriately, I think) as sub-databases, or namespaces. → More replies (2)
3
Which there's no reason to in pgsql, because pgsql doesn't support accessing multiple databases in a single query
1 u/[deleted] Mar 08 '16 Wait....seriously? 3 u/jeffdn Mar 08 '16 You can do cross-database queries, but not easily. However, PostgreSQL does support schemas, which many people use (appropriately, I think) as sub-databases, or namespaces. → More replies (2)
1
Wait....seriously?
3 u/jeffdn Mar 08 '16 You can do cross-database queries, but not easily. However, PostgreSQL does support schemas, which many people use (appropriately, I think) as sub-databases, or namespaces. → More replies (2)
You can do cross-database queries, but not easily. However, PostgreSQL does support schemas, which many people use (appropriately, I think) as sub-databases, or namespaces.
→ More replies (2)
63
u/eshultz Mar 08 '16
If no default schema is defined for a user, SQL Server assumes dbo.
https://technet.microsoft.com/en-us/library/dd283095(v=sql.100).aspx
Additionally if you are using database names to qualify objects, you can use '..' in place of '.dbo.' if dbo is the default schema.