Here is a sample of my table , no index , no primary key , no nothing and with almost 6000 columns.
date col1 col2 col3 ... col6000
jun14 0 . 0 0
may14 1 . 2 2
apr14 1 . 3 1
mar14 1 3 3 0
feb14 1 3 3 5
jan14 1 0 3 8
dec13 1 0 3 1
I want to know , which column has only . since apr 2014.
Edited
My expected results would be to know, in the example of 3 columns , see above, that column 2 has only dots since april 2014
End of Edited
I was thinking of transpose my table but it seems to be a pointless solution.
I'm stuck on that issue since yesterday and I don't feel I have a solution. Argh!
Thanks.
Edited: My query would be the following
select * from mytable where date < (input('may14',MONYY5.));
However, it does not give me what I'm expecting as it is retrieving all the rows from all the columns. I thought about transposing my table but having done that, it does not take me anywhere.
End of Edited