A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to select particular column name
Joined: Feb 13, 2007
Feb 13, 2007 04:05:00
I have a table with four fields which contains only boolean values.
At any point of time, only one field can be true.
can anyone help me in writing the query for the getting the column name that has "true" value.
Joined: Jun 06, 2005
Feb 13, 2007 06:29:00
Which database you are using ?
subject: how to select particular column name
restrict queries in association while fetching data....
Mapping document query
Result set type
update query fired by hibernate!!!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013