aspose file tools
The moose likes JDBC and Relational Databases and the fly likes how to select particular column name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "how to select particular column name" Watch "how to select particular column name" New topic
Author

how to select particular column name

nagesh babu
Greenhorn

Joined: Feb 13, 2007
Posts: 1
Hi,

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.

Thanks,
nageshbabu
Srikanth Basa
Ranch Hand

Joined: Jun 06, 2005
Posts: 241
Which database you are using ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to select particular column name
 
It's not a secret anymore!