Seetha has Published 86 Articles

What are the different ways in MySQL to add ‘half year interval’ in date?

seetha

seetha

Updated on 29-Jan-2020 06:36:20

421 Views

We can add ‘half year interval’ in date ith the following ways −(A) By adding interval of 6 Monthsmysql> Select '2017-06-20' + INTERVAL 6 Month AS 'After Half Year Interval'; +--------------------------+ | After Half Year Interval | +--------------------------+ |  2017-12-20              | +--------------------------+ 1 row ... Read More

How will addition, subtraction, multiplication and division operator work with date values stored in MySQL table?

seetha

seetha

Updated on 28-Jan-2020 11:01:22

122 Views

When we try to do such kind of operations with date values stored in the table then MySQL is assuming the date values as the number and perform the arithmetic.Suppose we have a table named ‘example’ having a date value in ‘orderdate’ column then following arithmetic operation will clarify the ... Read More

Why we cannot use MySQL DATE data type along with time value?

seetha

seetha

Updated on 28-Jan-2020 09:23:21

80 Views

The default format for MySQL DATE data type is “YYYY-MM-DD” and in this format, there is no possibility to store the time value. Hence, we can say that we cannot use DATE data type along with time value.As we can see in the following example MySQL returns only date value ... Read More

How to define a method in JavaScript?

seetha

seetha

Updated on 07-Jan-2020 08:07:26

387 Views

A method in JavaScript is the action performed on objects. A JavaScript method has a function definition, which is stored as a property value. ExampleLet’s see an example to define a method in JavaScriptLive Demo                             ... Read More

What are JavaScript basics?

seetha

seetha

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

223 Views

JavaScript basics include an overview of JavaScript. JavaScript is a dynamic computer programming language. It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic pages. It is an interpreted programming language with object-oriented ... Read More

What are the limitations of JavaScript?

seetha

seetha

Updated on 02-Jan-2020 08:29:15

4K+ Views

JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complementary to and integrated with Java. It is very easy to implement because it is integrated with a HTML. It is open and cross-platform.We cannot treat JavaScript as a full-fledged programming language. It lacks ... Read More

How to detect encoding and mixed line endings (Windows and Unix) in SAP?

seetha

seetha

Updated on 12-Dec-2019 06:23:03

167 Views

You can make use of CL_ABAP_FILE_UTILITIES => CHECK_FOR_BOM to define file encoding type and use constantly of class CL_ABAP_CHAR_UTILITIES to process the files.ClassCL_ABAP_CHAR_UTILITIESShort DescriptionUtilities for Processing Characters

Unable to access DBCONN after upgrading to EHP7 in SAP system

seetha

seetha

Updated on 10-Dec-2019 08:56:39

88 Views

You can test the connection using T-code: SE38 using ADBC_TEST_CONNECTION. You could check details of exception as below:TRY. EXEC SQL. CONNECT TO 'ZUNIXDB_DBCON' ENDEXEC. EXEC SQL. OPEN dbcur FOR SELECT id FROM table ENDEXEC. CATCH cx_sy_native_sql_error INTO lr_cx_native_sql_error.Read More

Checking table existence using Class and it’s method in SE11 without using FM in ABAP

seetha

seetha

Updated on 10-Dec-2019 07:19:00

418 Views

To perform this without using Function module, you can use class- “cl_rebf_ddic_tabl”. Note that Class methods are almost similar to function modules. They are defined as code blocks to perform specific functionality.ExampleTry using below code: CALL METHOD cl_rebf_ddic_tabl=>exists EXPORTING    id_name = [table name]    id_tabclass = 'TRANSP' " For table ... Read More

What are event handlers in JavaScript?

seetha

seetha

Updated on 03-Oct-2019 06:24:02

521 Views

JavaScript's interaction with HTML is handled through events that occur when the user or the browser manipulates a page.When the page loads, it is called an event. When the user clicks a button, that click to is an event. Other examples include events like pressing any key, closing a window, ... Read More

Advertisements