If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Kg & Km

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-19-10, 09:27
calamaris calamaris is offline
Registered User
 
Join Date: Aug 2010
Posts: 21
Kg & Km

Hi every one. I'm beginner in data base programing , and i want to add Kg , Km in data base for example add 123kG but how can add Kg or km automatically without user enter kg or km for example user just enter 123 and Kg automatically add ????
Reply With Quote
  #2 (permalink)  
Old 08-19-10, 09:36
dav1mo dav1mo is offline
Registered User
 
Join Date: Dec 2007
Location: Richmond, VA
Posts: 782
Maybe you denote that as a type column or name your columns so that you know which is stored and treat it accordingly.
Dave
Reply With Quote
  #3 (permalink)  
Old 08-19-10, 10:04
calamaris calamaris is offline
Registered User
 
Join Date: Aug 2010
Posts: 21
Thank YOUUUUU
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On