Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Java Query vs. Stored Procedure
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Title:
Java Query vs. Stored Procedure
Miscellaneous
Thread ID:
00720318
Message ID:
00720318
Views:
48
Does anyone know if there is a major difference between making a connection to SQL Server in Java and sending a query or making the connection and executing a stored procedure?

I am new to Java and trying to optimize a database. Currently most of the SELECTS, INSERTS, DELETES and UPDATES are sent to SQL Server from Java Server Pages. My guess would be that having a stored procedure would be better since sending the query from JSP every time would require SQL Server to create a new plan each time.

Any help on this and/or where I can go for documention on this topic would be great.

Thanks!
George
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Next
Reply
Map
View

Click here to load this message in the networking platform