Is it possible to get list items using stored procedure in sql server? Everybody can give me any advices to solve that way... I'm very please if you can give me a stored procedure code can do that,
And...is it more effective than another way, such as Rest Service...?
Technically speaking it is possible, but practically it makes hardly any sense and is highly discouraged. Reasons why not to try fetching SPListItem
s directly from the SQL database:
The result: don't do it, unless you are in a very specific scenario (e.g. developing complex a migration tool, but I doubt you would be asking such a beginner's question on SO in that case). Speculating about performance is hence irrelevant.