This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes formatting output columns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "formatting output columns" Watch "formatting output columns" New topic

formatting output columns

Craig Parsons
Ranch Hand

Joined: Jan 28, 2004
Posts: 40
I am new to retrieving data from an Access database using JAVA code with enbedded SQL. I am just doing a basic SELECT * FROM database. So all the records show up, but my columns are all uneven.
What can I use to get my columns lined up under the column headers? I would like to have the 1st position of the column to be lined up with the headers and all the data below it.
I agree. Here's the link:
subject: formatting output columns
It's not a secret anymore!