Geeks Talk

Prepare for your Next Interview




KSDS question

This is a discussion on KSDS question within the Database Design forums, part of the Databases category; KSDS is having the emp key, empname and join date. We want to add the bonus Rs. 10000/- those who join on Jan 1st 2008. How to do this ?...


Go Back   Geeks Talk > Databases > Database Design

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-28-2008
Junior Member
 
Join Date: Feb 2008
Location: bangalore
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
pra.red is on a distinguished road
KSDS question

KSDS is having the emp key, empname and join date. We want to add the bonus Rs. 10000/- those who join on Jan 1st 2008. How to do this ?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-28-2008
Expert Member
 
Join Date: Sep 2007
Posts: 754
Thanks: 22
Thanked 62 Times in 61 Posts
krishnaindia2007 is on a distinguished road
Re: KSDS question

Use the following query

UPDATE TABLENAME
SET BONUS = 10000
WHERE JOINDATE = TO_DATE('01/01/2008','DD/MM/YYYY')
Reply With Quote
Reply

  Geeks Talk > Databases > Database Design


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
HR question sakshi_2801 Companies 5 3 Weeks Ago 04:19 PM
Question Manoj.Oracle Oracle Apps 2 03-10-2008 07:54 AM
c question..? kamanianil C and C++ 0 08-07-2007 05:30 AM
QTP question? hetal desai QTP 3 07-11-2007 02:31 PM
Question shitalpatil Brainteasers 3 03-08-2007 06:32 AM


All times are GMT -4. The time now is 01:44 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved