Giri Raju has Published 90 Articles

Which property is used in CSS to control the position of an image in the background?

Giri Raju

Giri Raju

Updated on 30-Jan-2020 08:54:23

492 Views

To control the position of an image in the background, use the background-position property.ExampleYou can try to run the following code to learn how to work with the background-position property. It sets the background image position 30 pixels away from the left side:               ... Read More

What MySQL returns on passing an invalid string as an argument to STR_TO_DATE() function?

Giri Raju

Giri Raju

Updated on 30-Jan-2020 06:06:03

124 Views

If we pass an invalid string as an argument to STR_TO_DATE() function then MySQL will return NULL as output along with a warning. Following is an example to understand the same −mysql> Select STR_TO_DATE('20173210', '%Y%d%m'); +-----------------------------------+ | STR_TO_DATE('20173210', '%Y%d%m') | +-----------------------------------+ | NULL               ... Read More

What is the range of date time value that we can pass as an argument to MySQL UNIX_TIMESTAMP function?

Giri Raju

Giri Raju

Updated on 30-Jan-2020 05:24:36

112 Views

The range of date time value that we can pass as an argument to MySQL UNIX_TIMESTAMP function is the same as the range of TIMESTAMP data type i.e. between ‘1970-01-01 00:00:01’ to ‘2038-01-19 08:44:07’. If we give the date time values in UNIX_TIMESTAMP function beyond or below TIMESTAMP range, MySQL ... Read More

What kind of output is produced by UNIX_TIMESTAMP() function?

Giri Raju

Giri Raju

Updated on 28-Jan-2020 10:25:19

71 Views

The function UNIX_TIMESTAMP produce the output in seconds i.e this function will convert the specified date or datetime value into a total number of seconds.For example, the date ‘1970-05-15 05:04:30’ would be converted to total 11576070 seconds by UNIX_TIMESTAMP function.mysql> select UNIX_TIMESTAMP('1970-05-15 05:04:30'); +---------------------------------------+ | UNIX_TIMESTAMP('1970-05-15 05:04:30') | +---------------------------------------+ | ... Read More

What HTML forms are and how to use them?

Giri Raju

Giri Raju

Updated on 10-Jan-2020 11:11:33

498 Views

HTML Forms are needed to collect some data from the site visitor. For example, collecting information about a student like a name, age, address, marks, etc, while he/she is registering on the college website.A form takes input from the site visitor and posts it to a back-end application such as ... Read More

Why does the JavaScript void statement evaluate an expression?

Giri Raju

Giri Raju

Updated on 10-Jan-2020 10:25:15

48 Views

The JavaScript void returns an expression to remove the side effect and return the undefined primitive value. This side effect may occur while inserting expression in a web page.Let’s see an example of the void. The void(0) can be used with hyperlinks to obtain the undefined primitive value, ExampleLive Demo ... Read More

What is the use of JavaScript cookies?

Giri Raju

Giri Raju

Updated on 09-Jan-2020 08:33:06

155 Views

Using cookies is the most efficient method of remembering and tracking preferences, purchases, commissions, and other information required for better visitor experience or site statistics.Your server sends some data to the visitor's browser in the form of a cookie. The browser may accept the cookie. If it does, it is ... Read More

What ECMAScript 6 features can I currently use in web browsers?

Giri Raju

Giri Raju

Updated on 02-Jan-2020 09:41:54

125 Views

The full form of ECMA is European Computer Manufacturer's Association. ECMAScript is a Standard for scripting languages such as JavaScript, JScript, etc. It is a trademark scripting language specification. JavaScript is a language based on ECMAScript. A standard for scripting languages like JavaScript, JScript is ECMAScript. JavaScript is considered as ... Read More

How can MySQL work with PHP programming language?

Giri Raju

Giri Raju

Updated on 20-Dec-2019 06:25:34

552 Views

MySQL works very well in combination with various programming languages like PERL, C, C++, JAVA, and PHP. Out of these languages, PHP is the most popular one because of its web application development capabilities.PHP provides various functions to access the MySQL database and to manipulate the data records inside the ... Read More

Sort data in SQL using Dynamic SQL in SAP HANA

Giri Raju

Giri Raju

Updated on 05-Dec-2019 09:51:18

748 Views

In order to execute dynamic SQL in your stored procedure, you need to use the ‘EXECUTE IMMEDIATE’ statement. You can use SQL as shown below to execute it:EXECUTE IMMEDIATE 'SELECT FROM ' || : || ' DESC';Another thing to notice over here is that if you are planning ... Read More

Advertisements