Sai Subramanyam has Published 99 Articles

What does the method toString(obj[] a) do in java?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

144 Views

The toString(Object[] a) method of the java.util.Arrays class returns a string representation of the contents of the specified Object array. If the array contains other arrays of elements, they are converted to strings by the Object.toString() method inherited from Object, which describes their identities rather than their contents. Example ... Read More

How can I search data from MySQL table based on similar sound values?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

125 Views

With the help of SOUNDS LIKE operator, MySQL search the similar sound values from the table. Syntax Expression1 SOUNDS LIKE Expression2 Here, both Expression1 and Expression2 will be compared based on their English pronunciation of sound. Example Following is an example from ‘student’ table which will match the ... Read More

How OLD and NEW keywords enable us to access columns in row affected bya trigger?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

947 Views

As we know that in trigger definition, we can refer to columns of the row being inserted, updated or deleted. Following are the ways OLD and NEW keywords enable us to access columns − We must have to prefix the column name with a qualifier of OLD to refer ... Read More

What does the method copyOf(int[] original, int newLength) do in java?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

247 Views

The copyOf (int[] original, int newLength) method of the java.util.Arrays class copies the specified array, truncating or padding with zeros (if necessary) so the copy has the specified length. For all indices that are valid in both the original array and the copy, the two arrays will contain identical values. ... Read More

How can we check that by default MySQL CHAR() function returns a binary string?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

119 Views

With the help of CHARSET() function, we can check which string is returned by MySQL CHAR() function. Following result set will demonstrate it − mysql> Select CHARSET(CHAR(85)); +-------------------+ | CHARSET(CHAR(85)) | +-------------------+ | binary | +-------------------+ 1 row in set (0.00 sec)

How to set all the border left properties in one declaration with JavaScript?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

105 Views

To set all the border left properties in a single declaration, use the borderLeft property. You can try to run the following code to learn how to set the border left properties − Example Live Demo ... Read More

How can we select records from a table if the absolute value of the difference between two values is greater than a certain number?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

110 Views

We can use MySQL absolute value i.e. ABS() function to select records from a table if the absolute value of the difference between two values is greater than a certain number. We are using the data from ‘Marks’ table to demonstrate it for example. Example mysql> Select * from ... Read More

In MySQL, how we can get the corresponding string representation of the binary value of a number?

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:21

417 Views

In MySQL, BIN() function is used to get the corresponding string representation of the binary value of a number. It considers the number as a DECIMAL number. Syntax BIN(value) Here value, a BIGINT number, is the number whose binary value is to be retrieved. Example mysql> Select ... Read More

In SAP Class Builder, I am trying to test ABAP classes. When I press F8, it doesn’t show “Create Instance” menu item.

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:20

488 Views

You can access Class Builder by using T-code: SE24 or via Repository Browser SE80 and navigate to class you want to edit. You have to ensure that you set the below parameter to the public. It is also possible that your class implements an interface. It is also possible ... Read More

Dynamically creating parameters from table entries in SAP system

Sai Subramanyam

Sai Subramanyam

Updated on 30-Jul-2019 22:30:20

434 Views

Note that parameter statement compiles into selection screen at compile team so it is not possible to declare dynamic parameters as proposed by you. Other approach would be that you could load dynpro and change the screen dynamically. You have to activate and then run the report that calls the ... Read More

Advertisements