I have several tables which are all identical in columns and datatypes. i want to create a function which does some calculations on this tables. Since I just want to create one function I Need to specify the table on which the function should work on. That means i want to pass the table Name as a Parameter to the function.
Is that possible? Or how would you solve this problem.
Thank you very much in advance and greetings from Austria landau
As Tara mentioned, part of the process of creating a proper schema is called Normalization. If you try to follow the rules of normalization you won't have to worry about trying to implements the hacks you are trying to do now.