User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 423,579 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,436 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 524 | Replies: 3 | Solved
Reply
Join Date: Jan 2008
Location: UK
Posts: 40
Reputation: lostandfound is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
lostandfound's Avatar
lostandfound lostandfound is offline Offline
Light Poster

command prompt view

  #1  
Apr 19th, 2008
Having braved the task that is getting mySQL6.0 installed onto my machine, after listening to the preferences voiced by database users everywhere I was delighted when I finally got down to a bit of a play!!!
The problem I found almost immediately, was that a lot of the returned results do not fit into the command prompt window.Any lines which do not fit into what seems to be a predefined width return back on themselves and continue on the next line.
Needless to say, when you are attempting to view a grid everything becomes totally unintelligible.
Any suggestions please!!
Cheers
Ther are 10 types of people in the world. Those who do understand binary and those who don't!!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2007
Location: North Bay Ontario
Posts: 176
Reputation: trudge is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 20
trudge trudge is offline Offline
Junior Poster

Re: command prompt view

  #2  
Apr 20th, 2008
Can you not use the \G switch?

select * from customers \G

This displays the field names vertically instead of across the top. At least in 5.* it does.

Otherwise you will have to play with your window size / font size.
Amer Neely - Web Mechanic
"Others make web sites. We make web sites work!"
Reply With Quote  
Join Date: Jan 2008
Location: UK
Posts: 40
Reputation: lostandfound is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
lostandfound's Avatar
lostandfound lostandfound is offline Offline
Light Poster

Re: command prompt view

  #3  
Apr 20th, 2008
Brilliant!! Thanks very much

SELECT * FROM user \G

worked perfect!!

I should probably be embarrassed!!
Ther are 10 types of people in the world. Those who do understand binary and those who don't!!
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,433
Reputation: peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough peter_budo is a jewel in the rough 
Rep Power: 11
Solved Threads: 295
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: command prompt view

  #4  
Apr 20th, 2008
No need, not many people would actualy know that
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 7:27 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC