Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Similar Functions to Informix conversion functions dectoasc() and rfmtdate()

Similar Functions to Informix conversion functions dectoasc() and rfmtdate()

From: BDargie <wcdargie_at_statestreet.com>
Date: 28 Sep 2001 09:18:43 -0700
Message-ID: <f5673601.0109280818.76f33195@posting.google.com>


In essence how do I do something like this in Oracle:

void Convert_date_decimal(){
 int ret_code = 0;

 if ( ret_code = dectoasc( &temp_key2, t_key2, 16, 4)){   t_key2[0] = '\0';
}

 else {
  t_key2[16] = '\0';
}

 if (ret_code = rfmtdate( temp_key3, "mm dd yyyy", t_key3)){   t_key3[0] = '\0';
}

 if ( ret_code = rfmtdate( temp_key4, "mm dd yyyy", t_key4)){   t_key4[0] = '\0';
}

}

/* end function convert_date_decimal()                  */
Received on Fri Sep 28 2001 - 11:18:43 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US