You are here: change of value at the time of insertion « MsSQL Server « IT news, forums, messages
change of value at the time of insertion

Posted by lucky on 09/29/32 11:42

Hai,
Here is a query that i am creating a table

create table test10 (item varchar(10),state bit)


now at the time of insertion i will enter like this


insert into test10 values ('book' ,1)


but at the time of display in the table i want


item state
book true


from above i want to ask that when i am going to insert 1 i want to
get true and 0 as false.I never enter true or false in the insert
command. please help me in coding.
thankyou,
lucky.


Reply

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация