Collections:
Returning Query Output in HTML Format in MySQL
How To Return Query Output in HTML Format in MySQL?
✍: FYIcenter.com
By default, "mysql" returns query output in text table format. If you want to receive query output in HTML format, you need to use the "-H" command option. Here is a good tutorial exercise:
>cd \mysql\bin >mysql -u root -H test mysql> SELECT * FROM links; <TABLE BORDER=1><TR><TH>id</TH><TH>name</TH></TR> <TR><TD>1</TD><TD>dba.fyicenter.com</TD></TR> <TR><TD>10</TD><TD>dba.fyicenter.com</TD></TR></TABLE> 2 rows in set (0.00 sec)
⇒ Returning Query Output in XML Format in MySQL
⇐ Running "mysql" Commands from a Batch File in MySQL
2018-02-08, 3727🔥, 0💬
Popular Posts:
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
Can Date and Time Values Be Converted into Integers in SQL Server Transact-SQL? Can date and time va...
How To Install Oracle Database 10g XE in Oracle? To install 10g universal edition, double click, Ora...
What Happens to an Arithmetic Operation with Two Different Data Types in SQL Server Transact-SQL? Wh...
How To Concatenate Two Character Strings Together in SQL Server Transact-SQL? Concatenating two char...