Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Change the collation of database, tables and columns

If we have added wrong collation name of the database and its columns the we can get some problem with other languages and special character. All other languages and characters will appear as ????? So we can alter collation of database and table even

Upload CSV and Insert into Database Using PHP/MYSQL

Hello Readers ! We can simply upload upload CSV data into database by two simple ways. Step 1 – Data Base Connection <?php $db = mysq_connect("Database", "username", "password") or die("Could not connect."); if(!$db) die("no db"); if(!m

Reading information from database in Android

Storing and reading record from database using Sqlite Helper class. We have taken Name, Age and City as input from user and saving them on click of Save button and reading on click of Fetch Data button from database. MainActivity.java public clas

Deleting information from database in android

Deleting record from database using Sqlite Helper class. We have taken Name, Age and City as input from user and saving them on click of Save button and deleting on click of Delete button from database. MainActivity.java public class MainActivity

Saving information in database in Android

Storing record in database using Sqlite Helper class. We have taken Name, Age and City as input from user and saving them on click of Save button in database. MainActivity.java public class MainActivity extends Activity { CreateDatabase db;

How to Make Database Association on Selected Pages In Cakephp

If you want to make Database Association on Selected Pages In Cakephp follow the below steps, Below code can set association where it require and you can also reduce unnecessary queries firing to database. Make function in your model and set your

Connect to MySQL in PHP

In PHP, To perform any data task in MySQL database , first we have to connect MySql database to local server This can be done as : <?php $servername = "localhost"; $username = "username"; $password = "password"; // Create connection $conn = new

How to Fix Realm Database in React Native for Android App

Hello my friends, I try to use realm But by adding this line of code npm  install --save realm This error was I even tried to add it manually, but again, what's the problem?   Do you know databases like realm that I can repl

How to change default Character set of Schema?

Sometimes we need to change default Character set of Schema. We can do this easily by using ALTER command. Command: ALTER SCHEMA database-name DEFAULT CHARACTER SET utf8 ; Example: ALTER SCHEMA `jeeyoh` DEFAULT CHARACTER SET utf8 ; by running

SQL Selectivity

Selectivity Selectivity is used for the definition of the number of unique values in the table. It shows how many unique values are there in the table. Selectivity=Cardinality/number of record *100% If the selectivity is high than only the databa

1 146 161
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: