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 ?
I agree. Here's the link:
subject: how to select particular column name
update query fired by hibernate!!!!
restrict queries in association while fetching data....
Result set type
Mapping document query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014