Message-Id: <10666.120708@fatcity.com> From: "Gabriel Galanternik" Date: Tue, 31 Oct 2000 15:53:34 -0300 Subject: RE: how to define date column in a table with only mm/dd/yyyy portion a trigger trunc(ing) :new value would do the trick Gabriel ----------------------------- Gabriel Galanternik Tesis OyS -Que tengas un muy buen dia!- ----------------------------- ----- Original Message ----- From: Rao, Maheswara To: Multiple recipients of list ORACLE-L Sent: Tuesday, October 31, 2000 2:31 PM Subject: how to define date column in a table with only mm/dd/yyyy portion Hi All, I have table that contains a column - TRADE_DATE. This column should always contain only the date portion - mm/dd/yyyy. It SHOULD NOT contain time portion. Is there any way, I can define this column or can I use some kind of constraint clauses on this column? If yes, please tell me how to do this. TIA, Rao Maheswara.Rao@SunGardP3.com -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rao, Maheswara INET: Maheswara.Rao@Sungardp3.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).