بتاريخ: 18 أكتوبر 200619 سنة comment_81013 عندى مشكله فى الفورمات بتاعة الوقت هل هناك فى الجدول create table t1a timetheir is no type in table named timeas iwant to write time as hh:mi:ss in the table09:30:09how can i write this format in atableas if when i open alov then atime write as charthen it write as93009that is the problem تقديم بلاغ
بتاريخ: 18 أكتوبر 200619 سنة comment_81031 time1 column must be define as datetime.. thenlets say you want to insert table try this ..insert into table_test (time1) values to_date(to_char('2000/12/23 00:00:00','yyyy/mm/dd hh24:mi:ss'));and good luck..وكل عام والجميع بخير .. تقديم بلاغ
بتاريخ: 19 أكتوبر 200619 سنة comment_81099 فعلا لايوجد datetime في انشاء الجداول ولكن يوجد datetime في الفورم بلدر تقديم بلاغ
بتاريخ: 25 أكتوبر 200619 سنة comment_81428 مرحباmake sure that the field is of type date, because date contains both date and time.When you insert data into the field insert it as complete date datetypefor example Insert into table2 values (sysdate);now sysdate is saved in table as both date and time.I do not care that it contains both data and time, because when i write my query, i can show the time component onlySQL> select to_char(sysdate,'hh:mi:ss') my_time from dual;MY_TIME--------11:32:33SQL> select to_char(sysdate, 'Day - hh24') xx from dual;XX--------------Wednesday - 23So as you can see, i can control how to display the time information by extracting only the intersting part our of the entire date formatAmmar SajdiOracle Consultant, CEOREALSOFT/PALCO www.e-ammar.comwww.palco-me.comwww.realsoft-me.comلا بد ان ياتينا عيد على شواطئ غزةوتصهل فية ماذن القدسويشمخ البحر في يافا بالعيـــد وعوادةوكل عام واتتم بخير تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.