Quote:
Originally posted by dananio
You can use '::' to casting datatype
such as
SELECT aa::char(10)
|
Unfortunately, I am using SE not IDS.
Actually, I want to migrate SE to IDS, but seems some date data corrupted. I can't export SE data, it reported 1210 error. I prefer to convert the date data to a int or string type so that I can correct it because I can't directly retreive these corrupted date.
select col1 where col2<'01/01/1000' got a 1210 error.
for example, if there is a routine To_Int(DATE) which can convert DATE to INT, then maybe I can do in this way,
select col1 where To_Int(col2) < 0