Simple syntax question

This is a discussion on Simple syntax question within the MySQL Database forums, part of the Database Forums category; Hi I don't remember how to get the diplayed result broken in multiple lines. The command: mysql> SHOW ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-10-2006
Hompf
 
Posts: n/a
Default Simple syntax question

Hi

I don't remember how to get the diplayed result broken
in multiple lines.

The command: mysql> SHOW INDEX FROM recentchanges;
gives one very large line that wrapped over the screen.

I think that using another character instead of ; for
termination would give one line per field.

Thanks
Reply With Quote
  #2 (permalink)  
Old 03-10-2006
Giuseppe Maxia
 
Posts: n/a
Default Re: Simple syntax question

Hompf wrote:
> Hi
>
> I don't remember how to get the diplayed result broken
> in multiple lines.
>
> The command: mysql> SHOW INDEX FROM recentchanges;
> gives one very large line that wrapped over the screen.
>
> I think that using another character instead of ; for
> termination would give one line per field.
>
> Thanks


Just type
mysql> help
and you get several lines, among which, this one:
....
ego (\G) Send command to mysql server, display result vertically.
....

ciao
gmax


--
_ _ _ _
(_|| | |(_|>< The Data Charmer
_|
http://datacharmer.blogspot.com/
Reply With Quote
  #3 (permalink)  
Old 03-10-2006
Hompf
 
Posts: n/a
Default Re: Simple syntax question

Giuseppe Maxia wrote:
> Hompf wrote:
>> Hi
>>
>> I don't remember how to get the diplayed result broken
>> in multiple lines.
>>
>> The command: mysql> SHOW INDEX FROM recentchanges;
>> gives one very large line that wrapped over the screen.
>>
>> I think that using another character instead of ; for
>> termination would give one line per field.
>>
>> Thanks

>
> Just type
> mysql> help
> and you get several lines, among which, this one:
> ...
> ego (\G) Send command to mysql server, display result vertically.
> ...


Thanks
I was googling instead and loosing much time.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0