Where to store SQL Queries in Ruby Console App

J

Joe Martin

Hi
I'm building out a windows console app that talks to SQL Server 2005.
I'm coming from an Access world, where the queries are nicely included
in the front end.

So I'm wondering: what are best practices for storing queries for an
application? I certainly don't want to hard-code the queries into the
application itself. One idea is to store each query in its own file in
a separate directory and read in those query files on the fly. But I'm
still left wondering if there is a bettery way to this.

Ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top