We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

finding the right tech

do not use

Sp_help provides a lot of information about the structure of the tables inside your database. You can highlight a table name in the SQL Query editor and then press the Alt

Using MySqlCheck

MySQL provides many utilities for verifying and taking corrective actions in case of failures. One such tool is mysqlcheck Usage: [root@mypc]# mysqlcheck -h -u -p –analyze –databases ; The above

Obtain the Oldest Open Transaction

You can obtain the oldest Open Transaction in the following way: — Create temporary table for results. CREATE TABLE #OpenTrans ( CurrTrans VARCHAR(25), CurrTransDet SQL_VARIANT ); — Insert info in

Forget Tables, Try Divs

One of the main advantage of CSS is using the to achieve total flexibility in terms of styling. In the the contents are ‘locked’ within a cell. It’s safe to

Speed Up Entity Framework Queries

Queries like the one below will perform more slowly than they could be run on a varchar column. Explicitly marking them as such will improve the performance of EF queries

Understanding the Java.time Package

import java.time.*;import java.time.format.*;class LocaleDate{ public static void main(String args[]) { LocaleDate localeDate = new LocaleDate(); localeDate.proceed(); } private void proceed() { DateTimeFormatter formatter; //Creating an instance to the current time

Escape Characters with the “@” Symbol in C#

Use the “@” symbol to prefix a string that has characters. You do not have to escape the characters in the string. For example, instead of: Var filePathString = “C:\mydocs\share\audit.docx”;

Compare Only Alphabetic Values

You can force a like condition to compare only alphabetic values. Here is how: ORDER BY CASE WHEN LTrim(RTrim(Place.Name)) NOT LIKE ‘%[^0-9]%’ THEN 1 ELSE 2 END, Place.Name

Avoid Poor Use of Reflection

Class beanClass = ???If (beanClass.newInstance() instanceof TestBean) ??? The above code is tries to use the reflection API, it tries to find a way to check for inheritance, but it

Validating an URL in Java

Java has some predefined ways of validating an URL. Here is a code snippet: import java.net.*;public class URLValidator{ String validURL = “http://google.com” ; String inValidURL = “httpgoogle.com” ; public static

Getting All Available Time Zones in Java

The package java.time has APIs to get all the available zone ids. The API is getAvailableZoneIds(). import java.time.*;import java.util.*;public class AllTimeZones{ public static void main(String args[]) { AllTimeZones allTimeZones =

Fetching Common Records Between Two Tables

You can fetch records that are common to one or more tables by using INTERSECT. Here is a small example: Select * from EmployeesIntersectSelect * from RetiredEmployees

Avoid Out of Memory Conditions

Byte[] pdf = toPdf(file); Here, a method creates a PDF file from some input and returns the binary PDF data as a byte array. This code expects that the generated

DevX - Software Development Resource

Smooth Code Review Process Directly in Visual Studio with Updated Review Assistant

Devart has released a greatly improved Review Assistant 4.0, a code review tool for creating review requests and responding to them without leaving Visual Studio. The tool received numerous review workflow enhancements including new statuses and comments, a single diff-tool window to view changes, improved code review board and many others.

Optimize Your SQL Queries with Schema Names

SQL Server, by design, caches query plans for queries. For reuse of cache, the best practice would be to include the schema name in the query. For example: select *

CSS Debugging Tools

It’s always a good idea to get an instant preview of the layout while optimizing your CSS code. It helps you to understand and debug CSS styles better. There are

Understanding the Double Colon in Java

Iterating a list and printing the values is very simple, as illustrated by the code snippet below. import java.util.*;public class DoubleColon{ public static void main(String args[]) { DoubleColon doubleColon =

Understanding the Usage of the OffsetDateTime Class

This class belong to java.time package. There are many options available, but here we will be using the ZoneId to get the current time. import java.time.*;public class UsingOffsetDateTime{ public static

Setting a Default NULL Date in SQL

Setting a default NULL Date in SQL is quite easy, you just need to concentrate. A statement similar to the following will convert any NULL value inside the specific DATE

Dangers of Choosing the Wrong Class Loader

This code uses the class loader that loads the current class and getClass() could return something unexpected, like a subclass, or a dynamic proxy. This is hardly ever what you

Switch to HTTP2 for Faster Websites

HTTP2 is binary protocol released some time after 2015. It is completely multiplexed and allows you to send multiple requests via a single TCP connection. It also reduces additional round

DevX - Software Development Resource

The Typing Game

https://play.google.com/store/apps/details?id=com.steevjames ‘The Typing Game’ helps improve ones skill in typing in mobile. It is a fun, addictive and educational game. Compete with you friends and have fun !   * This is a small sized game ( Just 1 MB ).* The game does not have any sorts of advertisements.* It is a very user friendly app.* The Typing Game does not require any permission to install or run making it fully safe.* The game uses a simple approach that is easily understandable so even small children can use it.* The app is rated for age 3+ in google play.* This game does not run in the background.