Can anyone tell me whats wrong with my script?
sql server 2005
Error: Incorrect syntax near ')'.
I have a feeling there is more wrong than that.
SELECT a.*
FROM OPENROWSET('Data Source=10.10.1.31;Initial Catalog=RFDG;User Id=admin;Password=342ds2sa12e;',
'SELECT * FROM location') AS a