Pdo Dblib Not Working
I have a connection with the DBLIB PDO driver, and I am not getting any errors on connecting, but when I run a query an exception is thrown with the error below. I have played arou
Solution 1:
First, find out what error 208 means:
select * from sys.messages where message_id = 208Second, check the FROM syntax (including the examples!) and object identifier rules.
Third, write the query correctly:
SELECT PHONE FROM PCO_INBOUNDLOG
Or, probably better (because it's good practice to include the schema name):
SELECT PHONE FROM dbo.PCO_INBOUNDLOG
Or even:
SELECT p.PHONEFROM dbo.PCO_INBOUNDLOGp
Post a Comment for "Pdo Dblib Not Working"