Arjun Thakur has Published 1025 Articles

How to add a NOT NULL column in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 13:01:56

4K+ Views

You can add a not null column at the time of table creation or you can use it for an existing table.Case 1 − Add a not null column at the time of creating a table. The syntax is as followsCREATE TABLE yourTableName (    yourColumnName1 dataType NOT NULL,   ... Read More

How to read json array in reverse order in android?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 12:02:52

531 Views

This example demonstrate about How to read json array in reverse order in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

Moving left animation with keyframes using CSS3

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 12:01:46

244 Views

You can try to run the following code to move left animation with keyframes using CSS3ExampleLive Demo                    h1 {             -moz-animation-duration: 3s;             -webkit-animation-duration: 3s;           ... Read More

How to sort volley arraylist with custom object in android?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 11:50:17

139 Views

This example demonstrate about How to sort volley arraylist with custom object in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

UPDATE column to append data into it in MySQL?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 11:15:14

2K+ Views

To achieve this, the following is the syntax.UPDATE yourTableName set yourColumnName=concat(ifnull(yourColumnName, ””), ’anyValue1, anyValue2, anyValue);To understand the above syntax, let us first create a table. The query to create a table is as follows -mysql> create table AppendDataDemo -> ( -> StudentId int, -> StudentName varchar(100), -> StudentAge int -> ... Read More

How to check android mobile supports HEART BEAT sensor?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 09:37:09

748 Views

This example demonstrate about How to check android mobile supports HEART BEAT sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In ... Read More

How to check android mobile supports LOW LATENCY OFFBODY DETECT sensor?

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 09:35:37

352 Views

This example demonstrate about How to check android mobile supports LOW LATENCY OFFBODY DETECT sensorStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.   ... Read More

HTML href Attribute

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 09:18:05

200 Views

The href attribute of the element sets the base URL for all relative URLs. For example, base URL as https://example.com/tutorials for all the relative URLs like /html, /java, /jquery etc., which are eventually −https://example.com/tutorials/html https://example.com/tutorials/java https://example.com/tutorials/jqueryFollowing is the syntax −Above, absolute _URL is the absolute url for the base URL. ... Read More

HTML cancelable Event Property

Arjun Thakur

Arjun Thakur

Updated on 29-Jun-2020 08:59:07

138 Views

The cancelable event property in HTML checks whether an event is a cancelable event or not. The values include TRUE if it is a cancelable event, else FALSE is returned.Following is the syntax −event.cancelableLet us now see an example to implement the cancelable event property −Example Live Demo   ... Read More

HTML