Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can I run SQL on an existing query?

Status
Not open for further replies.

KJS2002

Programmer
Jul 15, 2002
11
GB
I'm querying mySQL tables quite happily from a Java application but ....
If a create a query in mySQL itself can I then save it somewhere on the server and then run a query on that saved query!

... or would it be best to just build the entire query into one SQL statement and run that from the client.

(Basically I can't work out how/where mySQL saves queries and how to point to them.)
 
i don't think mysql provides such functionality
you'll need to create the complete sql statement and with it query the server
 
i thought that was probably the case. thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top