vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Can you use decode ? That's similar to case. But all in all it is assuming that the number of columns in the crosstab are fixed. J. Konikoff, Rob (Contractor) escribió: > INFORMIX-OnLine Version 7.23.UC11 > ISQL-7.20.UD1 > HP-UX 11.0 > > Is there a way to do a cross tab output in ISQL? > > I don't have a data cube function in 7.2, and I need one. The only > alternative I've found is to do cut and paste in a UNIX shell script > (can you spell slow?). I have tabular data and I need it to be cross > tab. > > What I have: > ID|DAYS|CNT > 01|0001|25 > 01|0004|20 > 02|0001|10 > 03|0020|10 > 03|0025|15 > > What I need: > ID|1 Day|4 Day |20 Day|25 Day| > 01| 25 | 20 | | | > 02| 10 | | | | > 03| | | 10 | 15 | > > > Thanks. > > > Rob Konikoff > > > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list > |