Using VS2019 and SQL Server v18.9.1
When I download and install my app to a client machine, what SQL script version should I use to create the database on their machine?
My clients could have anything from 2008 thru to the latest version of SQL on their machine.
1/. Should I do a script for all versions prior to and including my development machine version and let my code choose which one to use? (That's what I am doing at the moment)
2/. Should I just use the 2008R2 script because if the client has a later version then it will be backwardly compatible and still work? I can stipulate SQL SERVER 2008 as a minimum requirement.
Option 1 works fine if I only want to create the database, but now I want to give the user the option of downloading data to fill the tables as well.
This means I would have to make available several versions of the loaded database which will take a lot of space and will also be a nuisance.
Option 2 would solve this problem. But is loading an old style database the right way to go? Does it even matter?
Any opinions or thoughts on this would be very much appreciated.
Cheers
When I download and install my app to a client machine, what SQL script version should I use to create the database on their machine?
My clients could have anything from 2008 thru to the latest version of SQL on their machine.
1/. Should I do a script for all versions prior to and including my development machine version and let my code choose which one to use? (That's what I am doing at the moment)
2/. Should I just use the 2008R2 script because if the client has a later version then it will be backwardly compatible and still work? I can stipulate SQL SERVER 2008 as a minimum requirement.
Option 1 works fine if I only want to create the database, but now I want to give the user the option of downloading data to fill the tables as well.
This means I would have to make available several versions of the loaded database which will take a lot of space and will also be a nuisance.
Option 2 would solve this problem. But is loading an old style database the right way to go? Does it even matter?
Any opinions or thoughts on this would be very much appreciated.
Cheers