Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

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 Blogs FAQ Tag Cloud Calendar Mark Forums Read

Database Design Disucss if you have any issues with Database Design and Concepts

Reply

 

LinkBack Thread Tools Display Modes
  #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: 738
Thanks: 22
Thanked 67 Times in 65 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

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


All times are GMT -4. The time now is 04:31 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved