This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
MySQL - List User Defined Tables - Two Methods

MySQL – List User Defined Tables – Two Methods

April 1, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts, SQL Server, SQL System Table

There are different methods to list out user defined tables in MySQL. We will see two methods in this post.

Let us create the following tables in the database named Test

Read More
MySQL - Generate Script for a Table Using SQL

MySQL – Generate Script for a Table Using SQL

March 28, 2014
Pinal Dave
SQL Tips and Tricks
MySQL

SQL Server needs SSMS to build a CREATE TABLE script, but MySQL can do it in SQL. Here is how SHOW CREATE TABLE returns the script for a table.

Read More
Gouache painting: a tin-can telephone, two paper cups joined by a taut vermilion string stretched across a gap between a slate-blue windowsill and a sage-green doorway

Connect to MySQL From the Command Prompt: Host, Port, User

March 25, 2014
Pinal Dave
SQL Tips and Tricks
Command Line, MariaDB, MySQL, SQL Connection

To connect to MySQL from the command prompt, you pass a host, a port, a user and a password to the mysql client. This post runs every switch, then shows the exact error that a wrong port, user, password or database produces.

Read More
One distinct red bead appears among separated members on a cotton cord.

MySQL – Search For Values Within A Comma Separated Values – FIND_IN_SET

March 21, 2014
Pinal Dave
SQL Tips and Tricks
MySQL

FIND_IN_SET searches a comma-separated string for a complete member and returns its position. I keep whitespace in that string deliberate.

Read More
SQL SERVER - Retrieve Last Inserted Rows from Table - Question with No Answer

SQL SERVER – Retrieve Last Inserted Rows from Table – Question with No Answer

March 19, 2014
Pinal Dave
SQL Tips and Tricks
MySQL

Can you retrieve the last inserted rows from a table with no identity or date column? Here is my chat with Dustin on a question with no good answer.

Read More
MySQL - Pattern Matching Comparison Using Regular Expressions with REGEXP

MySQL – Pattern Matching Comparison Using Regular Expressions with REGEXP

March 17, 2014
Pinal Dave
SQL Tips and Tricks
MySQL

MySQL supports pattern matching using regular expressions with REGEXP. I show how to use ^, $, | and square brackets to match values in a table.

Read More
SQL Server query and result window.

MySQL – How to do Straight Join in MySQL?

March 12, 2014
Pinal Dave
SQL Tips and Tricks
MySQL

How does a straight join in MySQL work? STRAIGHT_JOIN is like an INNER JOIN but always reads the left table first. Here is a simple items and sales example.

Read More
Previous 1 … 5 6 7 8 9 10 11 12 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com