Our current solution uses an Access front end. Selections are made in the Access form that becomes the criteria for SQL statements (action statements, not selects).
The question is, is the performance with this approach any different, or much different, than coding it up as stored procedures. When Access sends the actions SQL to SQL Server I assume it is running at the server, not having anything to do with the client machine?
The SQL makes tables in SQL Server, based on values found in other SQL Server tables. A front end is needed because there is alot of things a user has to select - which values to process, sort orders, etc.
I could somehow code this up into stored procedures but there are so many selections that it is difficult to get this much coding out of VBA and into T-SQL.
But should I do this? Would the performance improve?
Typically million of records are processed at a time. It takes a while. The process pretty much is to take tables with millions of records and not many fields, and turn it into tables with less records, but much more fields. The new fields are derived from the actual data points in the original data.
So if there are two fields, color and fruit, then a number of new fields are created from this, such as: apple_yellow, apple_red, apple_green, melon_orange, melon_green, etc.
I have built the process to handle making multiple new tables for when the 1024 field limit is popped. There are other complex things going on in the VBA. Field naming is one - is it apple_green, or green_apple? The user decides via selections on the Access form.
There are over 3000 lines of VBA that would have to be converted into a stored procedure. Any ideas if this is worth it?
Thanks!
The question is, is the performance with this approach any different, or much different, than coding it up as stored procedures. When Access sends the actions SQL to SQL Server I assume it is running at the server, not having anything to do with the client machine?
The SQL makes tables in SQL Server, based on values found in other SQL Server tables. A front end is needed because there is alot of things a user has to select - which values to process, sort orders, etc.
I could somehow code this up into stored procedures but there are so many selections that it is difficult to get this much coding out of VBA and into T-SQL.
But should I do this? Would the performance improve?
Typically million of records are processed at a time. It takes a while. The process pretty much is to take tables with millions of records and not many fields, and turn it into tables with less records, but much more fields. The new fields are derived from the actual data points in the original data.
So if there are two fields, color and fruit, then a number of new fields are created from this, such as: apple_yellow, apple_red, apple_green, melon_orange, melon_green, etc.
I have built the process to handle making multiple new tables for when the 1024 field limit is popped. There are other complex things going on in the VBA. Field naming is one - is it apple_green, or green_apple? The user decides via selections on the Access form.
There are over 3000 lines of VBA that would have to be converted into a stored procedure. Any ideas if this is worth it?
Thanks!