hi,
can someone give me a tip how to, in my select statment, retreive my last column name and then if's not equal to certain value to add column to table?
example
if last column is year 2005 (Y05) I want to retrive this value and compare it to this year and if it doesn't match then add (Y06) column.
thank you very much.
can someone give me a tip how to, in my select statment, retreive my last column name and then if's not equal to certain value to add column to table?
example
if last column is year 2005 (Y05) I want to retrive this value and compare it to this year and if it doesn't match then add (Y06) column.
thank you very much.