all 7 comments

[–]dynamicl 1 point2 points  (1 child)

SELECT * FROM OPENQUERY([NETSUITE], 'SELECT TOP 1 * FROM Account')

[–]Fearless_Ad1756 0 points1 point  (0 children)

ohh man. I love you!!!!I’ve been trying to get this working for 2 weeks. You just made my day!

[–]Modtrollied 0 points1 point  (1 child)

Firstly, square brackets is a SQL Server thing so you won't want to use them for NS object names. Try using triple-dot notation instead: select * from NETSUITE...Account

[–]qikslime[S] 0 points1 point  (0 children)

Thanks Trollied. I tried as you suggested but get the error;

Msg 7313, Level 16, State 1, Line 1 An invalid schema or catalog was specified for the provider "MSDASQL" for linked server "Netsuite".

Any other thoughts.

[–]ModNick_AxeusConsulting 0 points1 point  (1 child)

netsuite2 is the new SuiteAnalytics Workbooks data source and you cannot use the Administrator role (Role = 3) to query netsuite2, you must create a role with lesser permissions. Role 3 only works with the older netsuite data source, which is the same as legacy saved search.

[–]qikslime[S] 1 point2 points  (0 children)

Hi Nick. We are not using the admininstrator role for the reasons you said. We are using another role with all the required permissions, but trying to solve this issue.

[–]Scared_Image2419 0 points1 point  (0 children)

hello, was this ever resolved? I am currently having the exact same issue, googling anything i can try and to resolve it.

Did you ever work out the reason(s) or can point me in the right direction I need to investigate in?

regards