Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to store only time in a data base table

Answer Posted / sudipta santra

No problem, There are 2 ways for doing this:

1. If the field of the table is timezone then you can set
data or insert data of timezone i.e the timezone is upto
milliseconds.

eg. insert into timetab(time_col) values(select
sysdbtimezone from dual);

2. If the field is varchar2 then you can set the value or
insert the time stamp like that:

insert into timetab(time_col)
values(substr(to_char(sysdate,'DD-MON-RRRR'),13);

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a read write transaction in oracle?

1093


How do you increase the OS limitation for open files (LINUX and/or Solaris)?

1934


Hi friends can u send the oracle 9i full version download link?????????????? please reply ?

1865


How to estimate disk space needed for an export job?

1051


Explain the different normalization forms?

1103


How to create an oracle database?

1042


Why we use bulk collect in oracle?

1044


Why do you create or replace procedures rather that drop and recreate.

1007


What privilege is needed for a user to create views in oracle?

1050


How to use "out" parameter properly?

1082


What happens if the imported table already exists?

1033


WHAT IS ecc 6.0

2148


What will be the syntax to find current date and time in format "yyyy-mm-dd"?

1011


Oracle

2378


Explain the use of compress option in exp command.

1021