+ 1

why we use stored procedure and when?

25th Jul 2016, 6:09 PM
Dinesh Sharma
Dinesh Sharma - avatar
3 ответов
0
stored procedures are the user created function.. why we use stored procedure hmm this is the real question suppose you have a lengthy query and u have to retrieve , manipulate data using that query and u need it in every day well in this situation u can create stored procedure, using the same query, so for daily use u don't have to write whole query again and again just execute the stored procedure u have your data
26th Jul 2016, 5:04 AM
ashwath nm
ashwath nm - avatar
0
that's just an example we use sp(stored procedure) to minimize network traffic between client and server, speed execution purpose so on main is that u don't have to write same query again and again
26th Jul 2016, 5:07 AM
ashwath nm
ashwath nm - avatar
0
use storage procedures will help you to minimize the works. you really don't want to be writing a lot of code every time if you used storage proc.
4th Aug 2016, 11:52 PM
Jacobs Masengo
Jacobs Masengo - avatar