Skip to content Skip to sidebar Skip to footer

Sqlsrv Access Database And Tables That Have Spaces In Their Names In Php

I can access database and tables that don't have spaces in their names but when they do I can't. $result = 'SELECT * FROM [LoLDatabase].[dbo].[Champ Stats]'; ^ has no errors but r

Solution 1:

This works:

SELECT [Item Name] + ' 'as ItemName 
FROM [LoLDatabase].[dbo].Items;

so it will have to do for now.

Post a Comment for "Sqlsrv Access Database And Tables That Have Spaces In Their Names In Php"