Srinivas Gorla has Published 72 Articles

While running MySQL statements in batch mode, how can we print, along with output, which statements are getting executed?

Srinivas Gorla

Srinivas Gorla

Updated on 11-Feb-2020 08:30:25

297 Views

By using –v option in batch mode, the MySQL statements can be printed along with output. For example, after running the same query in batch mode with –v option we will get the statement printed along with output.C:\Program Files\MySQL\bin>mysql -u root -p gaurav < hh.sql -v Enter password: ***** ... Read More

C++ Relational and Equality Operators

Srinivas Gorla

Srinivas Gorla

Updated on 11-Feb-2020 05:40:45

2K+ Views

In C Programming, the values hold on in 2 variables will be compared exploitation following operators and relation between them will be determined. These operators are called relational operators. Various C++ relational operators available are-OperatorsDescription>Greater than>=Greater than or equal to

Why do we use const qualifier in C++?

Srinivas Gorla

Srinivas Gorla

Updated on 10-Feb-2020 12:24:08

2K+ Views

We use the const qualifier to declare a variable as constant. That means that we cannot change the value once the variable has been initialized. Using const has a very big benefit. For example, if you have a constant value of the value of PI, you wouldn't like any part ... Read More

How can I export values based on some conditions from MySQL table into a file?

Srinivas Gorla

Srinivas Gorla

Updated on 06-Feb-2020 06:36:45

463 Views

We can use the conditions in WHERE clause while exporting the data from MySQL table to a file. It can be understood with the help of an example −ExampleSuppose we are having following data from table ‘Student_info’ −mysql> Select * from Student_info; +------+---------+------------+------------+ | id   | Name    | ... Read More

How MySQL evaluates if we use any other escape character rather that back-slash () in a text file while importing the data from text file to MySQL table?

Srinivas Gorla

Srinivas Gorla

Updated on 04-Feb-2020 06:12:01

323 Views

Back-slash(\) is the by default escape character for the MySQL and when we use it in the text file then we do not need to mention it in the query while importing the data from text file to table. But if we use any other character as escape character then ... Read More

Set the space between characters in CSS

Srinivas Gorla

Srinivas Gorla

Updated on 31-Jan-2020 06:42:39

226 Views

Use the letter-spacing property to set the space between characters. You can try to run the following code to implement letter-spacing property:Example                            Asia is a continent.          

How to set the color of a text with CSS

Srinivas Gorla

Srinivas Gorla

Updated on 30-Jan-2020 10:39:57

228 Views

To set the color of a text, use the color property.ExampleYou can try to run the following code to learn how to work with the color property in CSS:                            ANTARTICA is a continent          

Usage of font property in CSS

Srinivas Gorla

Srinivas Gorla

Updated on 30-Jan-2020 10:19:44

106 Views

The font property is used as shorthand to specify a number of other font properties, such as font family, size, style, etc.ExampleYou can try to run the following code to learn how to work with font property:                            Applying all the properties on the text at once.          

What is the proper way to retrieve the value stored in INT column as MySQL TIMESTAMP?

Srinivas Gorla

Srinivas Gorla

Updated on 30-Jan-2020 05:53:44

201 Views

We can use FROM_UNIXTIME() function to retrieve the value, as MySQL TIMESTAMP, stored as INT in the column of a table.For example, we have a table called ‘test123’ which has a column named ‘val1’. In this column, we stored the integer values as follows −mysql> Select * from test123; +------------+ ... Read More

Turnoff redirect to mobile pages in SAP Hybris

Srinivas Gorla

Srinivas Gorla

Updated on 16-Dec-2019 08:44:44

114 Views

To start with, first, you need to turn off the cookies on a mobile device. Next is to run the following command to the “project.properties” file of your storefront extension. Example# disabling the mobiles redirects:# uiexperience.level.supported.b2ctelco=DESKTOP uiexperience.level.supported=DESKTOPWhen this function is used, it communicates to SAP Hybris system that only DESKTOP based ... Read More

Advertisements