Akshaya Akki

Akshaya Akki

25 Articles Published

Articles by Akshaya Akki

Page 3 of 3

Creating a Radio button group in ABAP Screen Painter

Akshaya Akki
Akshaya Akki
Updated on 13-Feb-2020 6K+ Views

Screen Painter is known as an ABAP editor tool that can be used to create a screen. Screen Painter is used to create and manage all the elements in a screen.Transaction Code SE51There are various ways you can insert a Radio button to ABAP Screen Painter. First is by clicking on the radio button symbol on the left, then click on the canvas on the right to insert a radio button. You can repeat this for each button.Another option is that you open the dictionary window (blue rectangle with a smaller red rectangle inside). Type the variable name you used ...

Read More

How to repeat the values stored in a data column of MySQL table?

Akshaya Akki
Akshaya Akki
Updated on 07-Feb-2020 294 Views

For repeating the values stored in a data column of MySQL table, the name of the column must be passed as the first argument of REPEAT() function. The data from ‘Student’ table is used to demonstrate it:Examplemysql> Select REPEAT(Name,3)AS Name from student; +-----------------------+ | Name                  | +-----------------------+ | GauravGauravGaurav    | | AaravAaravAarav       | | HarshitHarshitHarshit | | GauravGauravGaurav    | | YashrajYashrajYashraj | +-----------------------+ 5 rows in set (0.00 sec)

Read More

How can we use the output of LTRIM() and RTRIM() functions to update MySQL table?

Akshaya Akki
Akshaya Akki
Updated on 06-Feb-2020 481 Views

We can use LTRIM() and RTRIM functions with MySQL update clause so that the values, after removing space characters, in the table can be updated. Following examples will demonstrate it −ExampleSuppose we know that there can be some space characters in the values of ‘Name’ column of table ‘Student’ then with the help of following single query we can remove the space characters from that column’s value and also update the table −mysql> Update Student SET Name = LTRIM(Name); Query OK, 0 rows affected (0.07 sec) Rows matched: 5 Changed: 0 Warnings: 0 mysql> Update Student SET Name = ...

Read More

Difference between StringBuffer and StringBuilder.

Akshaya Akki
Akshaya Akki
Updated on 30-Jul-2019 1K+ Views

The StringBuffer and StringBuilder classes are used when there is a necessity to make a lot of modifications to Strings of characters.Unlike Strings, objects of type StringBuffer and String builder can be modified over and over again without leaving behind a lot of new unused objects.The StringBuilder class was introduced as of Java 5 and the main difference between the StringBuffer and StringBuilder is that StringBuilder’s methods are not thread safe (not synchronized).It is recommended to use StringBuilder whenever possible because it is faster than StringBuffer. However, if the thread safety is necessary, the best option is StringBuffer objects.

Read More

Java string concat() method vs "+" operator

Akshaya Akki
Akshaya Akki
Updated on 30-Jul-2019 374 Views

The notable differences between concat() method and +operator are:concat() method+operatorYou cannot concat a null value to a String using the concat() method.You can concat null value using the ‘+’ operator.Using the concat() method you can concat only two String variables.Using the ‘+’ operator you can concat multiple values.Using the concat() method you can concat only String type of arguments.Using the ‘+’ operator you can concat any type of arguments.

Read More
Showing 21–25 of 25 articles
« Prev 1 2 3 Next »
Advertisements