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:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: how to select particular column name
restrict queries in association while fetching data....
update query fired by hibernate!!!!
Result set type
Mapping document query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013