What is the difference between ad-hoc queries from stored procedures?

Question:What is the difference between ad-hoc queries from stored procedures?

1.Ad-hoc queries are placed embedded in the business logic code

2.Stored procedures are placed embedded in the business logic code

3.There is no difference as both are fired on the databases

4.None of above


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!