Johnblaze1
Programmer
I have a best practice question.
I have a class that I want to use amongst multiple applications.
The class is dependent on several large SQL statements to perform its job.
What is the best practice for including the SQL statements (approx 10) with the class itself?
Should I use constants in the class, or is there a more elegant solution?
Thanks in advance
John
I have a class that I want to use amongst multiple applications.
The class is dependent on several large SQL statements to perform its job.
What is the best practice for including the SQL statements (approx 10) with the class itself?
Should I use constants in the class, or is there a more elegant solution?
Thanks in advance
John