hi,
i have a table in Sybase IQ and one of the column data type is defined as CHAR(5). The column has numbers which have 5 digits as well as 4. When i query the length of each row from that column, the length is returned as 5, even for the numbers which are actually 4 digits. But this is not the case with SQL server. SQL server gives exact length of the row.
Do we have any workaround for this problem. I tried to convert it to other data types dynamically while querying. None of the tricks worked out.
Please let me know, how to get exact count in SYBASE IQ.
i have a table in Sybase IQ and one of the column data type is defined as CHAR(5). The column has numbers which have 5 digits as well as 4. When i query the length of each row from that column, the length is returned as 5, even for the numbers which are actually 4 digits. But this is not the case with SQL server. SQL server gives exact length of the row.
Do we have any workaround for this problem. I tried to convert it to other data types dynamically while querying. None of the tricks worked out.
Please let me know, how to get exact count in SYBASE IQ.