NauticalGent
Ignore List Poster Boy
- Local time
- Today, 18:07
- Joined
- Apr 27, 2015
- Messages
- 6,754
Buongiorno all,
Got a couple of conceptual questions that I would like to hear opinions on if you would care to indulge me.
I am considering changing my text import paradigm from temp table batch processing to temp table loop, in other words parse the text and update the tables one record at a time. I really avoided this because I firmly believe that Access behaves better with batch query updates and that the process is cleaner and more efficient.
However, there are some issues that I did not take into consideration and The solutions are too complex and most of them could be alleviated if I were to do a paradigm shift.
I when the import process runs, 3 tables are updated, all with a PK/FK relationship. Because of this, I am considering using Transactions to accomplish my objective.
Which brings me to my questions:
Should I use stored/parameterized queries or run Parameterized SQL statements to do this?
I have read in many sources that stored queries are much faster. I have also read that if this query is only to be used in once place for one specific purpose, then running an SQL statement is better programming practice and make trouble shooting in the future easier...AND...makes for a tidier navigation pane (??!?)
Any experience/advice would be appreciated. I have no opinion on this, I am just unsure of which method is better.
Got a couple of conceptual questions that I would like to hear opinions on if you would care to indulge me.
I am considering changing my text import paradigm from temp table batch processing to temp table loop, in other words parse the text and update the tables one record at a time. I really avoided this because I firmly believe that Access behaves better with batch query updates and that the process is cleaner and more efficient.
However, there are some issues that I did not take into consideration and The solutions are too complex and most of them could be alleviated if I were to do a paradigm shift.
I when the import process runs, 3 tables are updated, all with a PK/FK relationship. Because of this, I am considering using Transactions to accomplish my objective.
Which brings me to my questions:
Should I use stored/parameterized queries or run Parameterized SQL statements to do this?
I have read in many sources that stored queries are much faster. I have also read that if this query is only to be used in once place for one specific purpose, then running an SQL statement is better programming practice and make trouble shooting in the future easier...AND...makes for a tidier navigation pane (??!?)
Any experience/advice would be appreciated. I have no opinion on this, I am just unsure of which method is better.