CodePudding user response:
Are you trying to query, the column name, or modify the column name from the list of defined?CodePudding user response:
Is to create a table, or just select out viewCodePudding user response:
Usually there is no such a design, the date should be only one field, the field data save each day, and then through the ranks of conversion query for column names is a date,CodePudding user response:
Based on the monthly units, is a year for the unit? 365 days, 365 fields? This is not a good wayCodePudding user response:
Is the column name, such as today is March 1, the column name is March 1, column names tomorrow is March 2CodePudding user response:
Dynamic SQL stitchingCodePudding user response:
With the view...CodePudding user response: