Smita Kapse has Published 558 Articles

What is the maximum length of each type of identifier in MySQL?

Smita Kapse

Smita Kapse

Updated on 06-Feb-2020 10:31:07

366 Views

As we know that certain objects within MySQL are known as identifiers. These objects include a database, table, index, column, alias, view, stored procedure, partition, tablespace etc. Identifiers are stored using Unicode (UTF-8). The maximum length of each type of identifier is given in the following table:Sr. No.IdentifierMaximum Length (characters)1Database642Table643Column644Index645Constraint646Stored ... Read More

How to access Java package from another package

Smita Kapse

Smita Kapse

Updated on 04-Feb-2020 11:26:52

5K+ Views

You can understand it using an example where a Boss class is defined in payroll package.package payroll; public class Boss {    public void payEmployee(Employee e) {       e.mailCheck();    } }if the Employee class is not in the payroll package? The Boss class must then use one ... Read More

How Can MySQL exact-value arithmetic handle overflow?

Smita Kapse

Smita Kapse

Updated on 30-Jan-2020 07:11:01

61 Views

MySQL exact-value arithmetic can handle overflow occurs during numerical expression assessment because overflow occurs depends on the range of the operands. The values used in arithmetic expressions changed to other data type can put away the overflow.For example, after converting the BIGINT Maximum value to DECIMAL while adding 1 to ... Read More

How to allow the restricted resources from another domain in web browser with HTML5

Smita Kapse

Smita Kapse

Updated on 29-Jan-2020 10:50:07

229 Views

Cross-origin resource sharing (CORS) is a mechanism to allows the restricted resources from another domain in a web browserFor suppose, if you click on HTML5- video player in html5 demo sections. it will ask camera permission. if user allows the permission then only it will open the camera or else ... Read More

How to check web browser support in HTML5

Smita Kapse

Smita Kapse

Updated on 29-Jan-2020 08:35:39

146 Views

You can try to run the following code to detect a web worker feature available in a web browser:           Big for loop                      function myFunction(){             if (Modernizr.webworkers) ... Read More

Special Characters in HTML

Smita Kapse

Smita Kapse

Updated on 29-Jan-2020 07:30:58

5K+ Views

Some characters are reserved in HTML and they have special meaning when used in HTML document. For example, you cannot use the greater than and less than signs or angle brackets within your HTML text because the browser will treat them differently and will try to draw a meaning related ... Read More

Make HTML5 input type=“number” accepting dashes

Smita Kapse

Smita Kapse

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

2K+ Views

To allow HTML5 input type = ”number” to accept dashes, use a regular expression.Add the regular expression in the pattern attribute as shown below.[ 0 - 9 ] + ([ - \, ] [0 - 9] + ) ? "Add it to the code now:input type = "text" pattern = ... Read More

What HTML5 tag should be used for filtering search results.

Smita Kapse

Smita Kapse

Updated on 28-Jan-2020 09:17:26

121 Views

To filter search results, use the element. The header should be in the section of the search results:    Search results                                                                      

Performing Null check using HANA SQL Script

Smita Kapse

Smita Kapse

Updated on 18-Dec-2019 10:06:46

3K+ Views

You can go for using either NULLIF or COALESCE function to serve your requirement.NULLIF (expression, expression"): This function will return the same type whatever is specified as the first expression.Basically, NULLIF returnsThe first expression if the two expressions are not equal.NULL of type of first expressions if the expressions are ... Read More

Using subset of items present in the list in SAP Program

Smita Kapse

Smita Kapse

Updated on 18-Dec-2019 08:02:27

87 Views

You can use a SWITCH CASE statement to handle your scenario. This is a good choice if you know well in advance what all properties are required and what is not required. Also, it will let you to unit test your code.Otherwise, you can go for a collection like a ... Read More

Advertisements