Other contributors have said "How do you have ms-sql-server tables containing spaces and the character in their name in the from-clause using freetds?" is the same question as "How to have MS-SQL-Server Tables containing spaces and the character in their name in the FROM-clause using FreeTDS.?" If you believe that these are not asking the same thing and should be answered differently, click here

How to have MS-SQL-Server Tables containing spaces and the character in their name in the FROM-clause using FreeTDS.?

Answer:

Answer

Use the square brackets: for example a table named: "User Password" would be called [User Password] this also works when a table or a column has a keyword as a name

Table ID is called using [ID]

First answer by ComputerJy. Last edit by ComputerJy. Contributor trust: 344 [recommend contributor recommended]. Question popularity: 29 [recommend question].