Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Square brackets in T-SQL

$
0
0

Could someone please explain the difference between, these two commands:

SELECT * FROM [DB_NAME].[SCHEMA_NAME].[TABLE_NAME]

SELECT * FROM [DB_NAME.SCHEMA_NAME.TABLE_NAME]

Thanks,
Abhi


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>