I
Ivan
Hello group.
Here is what I like to do.
#1. Add ".SQL" file to project
#2. Being able to load contents of this file into string variable.
So, I want .SQL to be compiled into executable and being able to retreive
contents for use inside program.
To explain what I'm doing:
I have app that interacts with DB. Some objects that needed is Stored
procedures and temp tables. My idea is instead of supplying separate DB
install - I rather have client refresh those objects on every startup. It's
utility and this approach will work just fine.
I can probably add this SQL like a string constants but it's PITA to manage.
Would be much prettier if I had it in SQL files so I can edit them in SQL
Management Studio
Thank you,
Ivan
Here is what I like to do.
#1. Add ".SQL" file to project
#2. Being able to load contents of this file into string variable.
So, I want .SQL to be compiled into executable and being able to retreive
contents for use inside program.
To explain what I'm doing:
I have app that interacts with DB. Some objects that needed is Stored
procedures and temp tables. My idea is instead of supplying separate DB
install - I rather have client refresh those objects on every startup. It's
utility and this approach will work just fine.
I can probably add this SQL like a string constants but it's PITA to manage.
Would be much prettier if I had it in SQL files so I can edit them in SQL
Management Studio
Thank you,
Ivan