Dear stackoverflow administrators and members:
Hello, a pleasant day to everyone.
I have been developing RDL (and it uses stored procedure, in SQL Server 2008 R2, to get data) for quite sometime in this company I am working for. Our previous database administrator is the one who checked my stored procedure and advises me to make some changes if my stored procedure needed enhancement. And a year later he resigned. :-(
And came this new database admin, now he wants me to revise all of my stored procedures specif. those RDL that uses a stored procedure having an ORDER BY
clause. :-(
He said that sorting must be done in the report/RDL, because it will somehow unload some overhead in the database, which in turn, will make my report generate data faster.
My question now is, is he correct about this? Is there additional reading I could read to accompany what he'd advised? Or is it what he'd advised just a simple rule of thumb I didn't practiced since? (As he said, no ORDER BY
clause, and no formatting (example on dates, time, etc.) in stored procedures, do all the formatting and sorting in the RDL. I am still halfway to go of my changes but I want to learn more about on what he's keep on instructing. Please advise.
Thank you and more power to all. :-)
Very truly Yours,
Mark Squall