For things like this, you should be having a read of the documentation
first; you'll find you learn more if you do the research yourself. This one, however, should be as simple as:
'SELECT* FROM idc.dbo.SBO_InvoicesL') AS ORS;
Obviously replace YourServerName with your server's name.
Excuse my typos and sometimes awful grammar. My fingers work faster than my brain does :-P
Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code]
to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community