I have two store procedures, which one is better?
1) select * from many tables, add joining, where clause, order by...
2) create a view in which get the same tables, add joining, where clause, order by..., and then create a store procedure, select * from view.
The only thing I concerned is the speed. Which store procedure is fast?
1) select * from many tables, add joining, where clause, order by...
2) create a view in which get the same tables, add joining, where clause, order by..., and then create a store procedure, select * from view.
The only thing I concerned is the speed. Which store procedure is fast?