When writing a query, can you separate schemas and objects with spaces and line feeds?
Sql-server – Can you separate schemas and objects with spaces and line feeds in T-SQL
sql servert-sql
Related Question
- SQL Server – Can COUNT DISTINCT Be Used with an OVER Clause
- SQL Server – Trim Trailing Whitespace, Tab, Newline, Carriage Returns
- How to Change Space Only Columns to NULL in SQL Server
- SQL Server – How to Write to a Folder with Spaces
- Dynamic SQL – How to Run a SELECT Against All Schemas and Tables
- SQL Server – Removing All Schemas and Objects Except Specific Ones
- SQL Server – How to Output New Line with FORMATMESSAGE
Best Answer
Yes, this is valid T-SQL:
As is this:
And they both work fine.