Quantcast
Channel: mysql – namasteui.com
Browsing all 13 articles
Browse latest View live

MySQL Query Functions

There are so many MySQL functions that commonly used to minimize the statements like string operation functions, date time functions, aggregate functions etc. MySQL LAST_INSERT_ID To get the last...

View Article


MySQL CASE Statement

MySQL has an alternative of IF statement i.e. MySQL CASE statement by which you can check conditional statement. Besides the IF statement in MySQL, this provides an alternative conditional statement...

View Article


MySQL Best Practices

Sometimes we may face about performance issues while opening a website. Not only databases but we need to optimize our programming code also. MySQL Best Practices means few tips to optimize the MySQL...

View Article

SQl MATCH AGAINST find results with only more than 3 characters in the result

In MySQL, while searching column using MATCH AGAINST keywords then the result matches all the row with search character more than 3. If you see the system variable ft_min_word_len, which specifies the...

View Article

mysql_fetch_array() expects parameter 1 to be resource, boolean given

Trying to select data from a MySQL table, but getting the error messages: mysql_fetch_array() expects parameter 1 to be resource, boolean given? – This may happen for various reasons like both the...

View Article


MySQL GROUP_CONCAT() maximum length

Here in this tutorial, you will learn how you can use the MySQL GROUP_CONCAT() function to concatenate strings from a group with various options. There are many cases where you can apply the...

View Article

Update from one table to another with condition in MySQL

In MySQL, you can update fields of one table from another table with a conditional statement also. For example, you have two tables i.e. “user_activity” and “user”. And you need to update a column in...

View Article

INSERT … ON DUPLICATE KEY UPDATE

If you mention ON DUPLICATE KEY UPDATE when a row is inserted that is causing a duplicate value in a UNIQUE index or PRIMARY KEY then MySQL performs an UPDATE of the old row. Suppose, […] The post...

View Article


MariaDB Vs MySQL- Comparison, Features, Differences and Similarities

“Competitors push you to achieve more!”, the phrase could not me more appropriate in relation to our present day world. Competitions is the best teacher, motivating one to move forward, to learn and to...

View Article


5 essential performance tips for MySQL

Sql Developer on each platform are battling, apparently stuck in a DO WHILE circle that commits them to rehash the same errors again and again. That is because the database field is still generally...

View Article

MySQL JSON Operations | Advantages and Limitations

JSON’s popularity has risen steadily since its inception nearly 15 years ago. JSON is used for data exchange by the vast majority of public Web services today. JSON functions as a string and are useful...

View Article

Import CSV file into MySQL

In MySQL using LOAD DATA INFILE statement you can read data from a text file and import the data into a MySQL table i.e. Import CSV file into MySql. But you need to match the […] The post Import CSV...

View Article

Search from serialized field in mysql database

Suppose you have a serialize string that have various values in different position and you need to search from serialized field. You want particular key’s value using MySQL query. It is very easy with...

View Article

Browsing all 13 articles
Browse latest View live