Hi,
I am having two questions related to collect stats.
1) I using Diagnostic HelpStats On For Session to know the recommended stats. Even after collecting the stats on that column, it's still showing to collect the stats on the same column of that table. Is optimizer not able to use the stats collected on that column? Column is compressed and datatype is char(1). In the query, the column is being compared with a string value and it is not casted ( table.column = 'A'). Can you please help me in knowing the reason?
↧