A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
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
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-2014