Samual Sam has Published 2492 Articles

How to check modules, functions, and tables in SAP ERP system.

Samual Sam

Samual Sam

Updated on 17-Feb-2020 07:51:21

727 Views

For searching within RFC modules, you can use the transaction BAPI (Business Application Programming Interface) for searching modules. The advantage of this approach is that they are completely documented and available on SAP website with sample usage examples. Also, SAP provides support for the same and in case you are ... Read More

What are local variables and global variables in C++?

Samual Sam

Samual Sam

Updated on 11-Feb-2020 09:59:43

8K+ Views

A scope is a region of the program and broadly speaking there are three places, where variables can be declared − Inside a function or a block which is called local variables,  In the definition of function parameters which is called formal parameters. Outside of all functions which are called global variables.Local ... Read More

What are C++ Character Constants?

Samual Sam

Samual Sam

Updated on 11-Feb-2020 08:21:37

1K+ Views

Character constants are one or more members of the “source character set, ” the character set in which a program is written, surrounded by single quotation marks ('). They are used to represent characters in the “execution character set, ” the character set on the machine where the program executes. ... Read More

What is different between constant and variable in C++?

Samual Sam

Samual Sam

Updated on 11-Feb-2020 08:10:33

1K+ Views

Variable and constant are two commonly used mathematical concepts. Simply put, a variable is a value that is changing or that have the ability to change. A constant is a value which remains unchanged.For example, if you have a program that has a list of 10 radii and you want ... Read More

What is type inference in C++?

Samual Sam

Samual Sam

Updated on 11-Feb-2020 08:02:36

577 Views

Type inference or deduction refers to the automatic detection of the data type of an expression in a programming language. It is a feature present in some strongly statically typed languages. In C++, the auto keyword(added in C++ 11) is used for automatic type deduction. For example, you want to ... Read More

What type of comments does C++ support?

Samual Sam

Samual Sam

Updated on 11-Feb-2020 07:33:15

196 Views

Program comments are explanatory statements that you can include in the C++ code. These comments help anyone reading the source code. All programming languages allow for some form of comments.C++ supports single-line and multi-line comments. All characters available inside any comment are ignored by C++ compiler.Single line commentsTo create a ... Read More

How can MySQL find and replace the data with REPLACE() function to UPDATE the table?

Samual Sam

Samual Sam

Updated on 07-Feb-2020 10:42:53

839 Views

As we know that REPLACE () function is used to replace the occurrences of a substring with another substring within a string. We can also use REPLACE function with UPDATE statement to update the table by finding and replacing the data.Examplemysql> Update Student set Father_Name = REPLACE(Father_Name, 'Mr.', 'Shri '); ... Read More

How can we extract a substring from a string in MySQL?

Samual Sam

Samual Sam

Updated on 07-Feb-2020 05:55:34

409 Views

MySQL SUBSTRING() function can be used to extract a substring from a string. Basically SUBSTRING() returns a substring with a given length from a string starting at a specific position. It has various forms as follows −SUBSTRING(str, pos)SUBSTRING(str FROM pos)SUBSTRING(str, pos, len)SUBSTRING(str FROM pos FOR len)The forms without a len ... Read More

What happens if the length of the original string is greater than the length of the string returned after padding in LPAD() or RPAD() functions?

Samual Sam

Samual Sam

Updated on 06-Feb-2020 06:54:02

227 Views

In this case, MySQL will not pad anything and truncate the characters from the original string up to the value of length provided as the argument in LPAD() or RPAD() functions.Examplemysql> Select LPAD('ABCD', 3, '*'); +--------------------+ | LPAD('ABCD', 3, '*') | +--------------------+ | ABC             ... Read More

What are the different wildcard characters that can be used with MySQL LIKE operator?

Samual Sam

Samual Sam

Updated on 06-Feb-2020 06:05:04

326 Views

As we know that LIKE operator is used along with WILDCARD characters to get the string having specified string. Basically, WILDCARD is the characters that help search data matching complex criteria. Followings are the types of wildcard which can be used in conjunction with LIKE operator % -The PercentageThe ‘%’ wildcard ... Read More

Advertisements