
Using the STRING_SPLIT Function in SQL Server
SQL Server 2016 provides a way to split a string that is concatenated with a separator. For example: SELECT VALUE FROM STRING_SPLIT(“John|Mary|Dohe”, “|”) would return the values John, Mary and

SQL Server 2016 provides a way to split a string that is concatenated with a separator. For example: SELECT VALUE FROM STRING_SPLIT(“John|Mary|Dohe”, “|”) would return the values John, Mary and

The command “SHOW GRANTS” will display the privileges that the current user has. Command: SHOW GRANTSSample output:+——————————————————————————————————————+|Grants for dbuser@% |+——————————————————————————————————————+| GRANT ALL PRIVILEGES ON *.* TO ‘dbuser’@’%’ IDENTIFIED BY PASSWORD
DateTimeOffSet values are often converted to strings for display or some other purpose. But these representations often fail when they are used to convert them back to valid date/time values.
Devart has upgraded SQL Complete with the connection to Azure Multi-Factor Authentication, enriched Code Completion and Code Refactoring features as well as many added other productivity functionalities. Related Posts How to Capture Compute Time in PythonAmazon’s Bold AI Strategy UnveiledDependency Injection in C# Using Aspect.NET FrameworkHow To Make 50k A Month: 11 Fool-Proof WaysSemiconductors: Illinois Leads

Use this nifty function to check the validity of an email address. CREATE FUNCTION [dbo].[fnCheckEmail](@Email VARCHAR(255)) RETURNS BIT AS BEGIN DECLARE @ValidEMail BIT IF @Email IS NOT NULL SET @Email
In this article we’re going to explore Angular 5 up-gradation and Changes that would be encountered during the migration. Take a look at the features that make Angular 5 a great option for your development projects. Related Posts Terry Clune’s Fintech EmpireThe Right Way to Do Insensitive String ComparisonUsing a Java File with an Empty Main MethodEMC, VMware Spin Out Virtustream Cloud Computing UnitSilent Hill

Using one class or interface that contains all kinds of constants used during the application may not be the best solution. These constants are unrelated with each other, the only

We have been using logging in Java and different code requires different levels of logging. Hence these Levels will come in handy. Code sample: import java.util.logging.Logger;import java.util.logging.Level;public class JavaLogger{ public

A lot of Excel reporting uses pivot tables and it is necessary to update them with the latest data. The process of updating each and every pivot table via the

At times, you may want to make your application sleep for a determined period pending some other action. This is very easily achieved in Java with threads. Code sample: import

To bypass “the row values updated or deleted either do not make the row unique or alter multiple rows” error message, all you need to do is add a query

Do not assume char represents only one character: “uD83DuDC31”.length() == 2 The escape sequence represents the Unicode code point 0x1F431 in UTF-16 as 2 chars. So even though this is
In Visual Studio 2017, the “attach to process” window has an option that allows you to search and filter for a process. It is a search text box right on

JSON is being widely adapted by the industry for easier transformation of data. Using the json-simple-1.1.1.jar in the classpath will provide you with the basics of JSON and its functionality.

By default, JavaScript script files are loaded synchronously in the page execution and thus are bound to slow down the page. You can asynchronously load the scripts by simply adding

In order to execute a Stored Procedure when SQL Server starts, you first need to enable scanning for Startup Procedures with the following code: EXEC sys.sp_configure N’scan for startup procs’,

In order to execute a Stored Procedure when SQL Server starts, you first need to enable scanning for Startup Procedures with the following code: EXEC sys.sp_configure N’scan for startup procs’,

RandomAccessFile raf = new RandomAccessFile(f, ???r???);for (???) { raf.seek(pos); byte b = raf.readByte();} Despite its name, the java.io.RandomAccessFile class is not very convenient for accessing files in a random-access manner,

Cloning is the easiest way of copying a class. With this, however, you also have all properties being passed on to the cloned class, which probably is a security hassle.

Use the KeyPress event to check for the keys pressed. See below for an example: private void textFirstName_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if ( !( char.IsLetter(e.KeyChar) ) ) { e.Handled

Collection.removeIf is a very powerful method that acts on a condition. In the code sample below, there is a list which has few elements in it and the condition is

Sometimes when doing a search for data between date ranges, some of the data is omitted because the search doesn’t include the whole last day’s values. Here is a small

These two selectors often confuse beginners. In CSS, the difference between them is that the class is represented by a dot “.”, while ID is represented by a hash “#”.

Angular’s ngPattern allows you to validate input using a pattern. See below for an easy example of how to validate an e-mail address using the ng-pattern. Related Posts Oracle Launches

Most of the time, you probably want to understand the flow to solve certain problems. Java provides an easy approach to knowing the current stack. Code snippet: public class DumpStack{

We use string.format to format the data written to the console using the console.write or console.writeline commands. However, it isn’t indented well to make it readable. C# allows you to

There are times that you need to access information from the previous row or next row from the current row. Here is a small trick that makes use of a

Private static final Log log = LogFactory.getLog(MyClass.class); It is a good idea to store the log instance in a static final variable, because: No problems with serializable classes Initialization cost

Java has an API called BigInteger and it is easily able to identify if the number under consideration is a prime number or not. Code snippet: import java.math.BigInteger;public class ProbablePrime{
Devart introduced a significant update of dbForge tools for MySQL with cutting-edge connectivity and compatibility options and a new, more secure than ever, activation procedure. Devart, a Czech software vendor of database tools and data connectivity solutions, has rolled out greatly improved, crisp and clean dbForge tools for MySQL after the recent grand update of dbForge Studio for MySQL. All the tools have been packed with the powerful connectivity and compatibility options which enable users to work with a greater number of databases and database engines. In addition, an activation mechanism has received an extreme makeover to ensure the maximum possible security and reliability of the tools. Here is a closer look at what???s new in dbForge tools for MySQL: 1) Connectivity and Compatibility. dbForge tools for MySQL now support the following databases and cloud services:MariaDB 10.1MariaDB 10.2NDBCLUSTERGoogle Cloud PlatformAlibaba Cloud 2) Trial Product Activation. The new activation process that traditionally comes after a 30-day trial period is more secure and reliable than ever before. It protects users against potential piracy and ensures that they are using an authentic product that can be trusted with their business data. 3) New Look and Feel. Among other updates, Devart redesigned the interface of MySQL tools to give them a cleaner look and feel. 4) Other Improvements include Compliance with the Federal Information Processing Standard. Onwards to more tidbits about what’s been changed with this release, please visit the following History pages:dbForge Schema Compare for MySQLdbForge Data Compare for MySQLdbForge Data Generator for MySQLdbForge Query Builder for MySQL To see the full list of updates implemented in dbForge Studio for MySQL v.7.4, please visit: https://www.devart.com/dbforge/mysql/studio/. About DevartDevart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects. For additional information about Devart, visit https://www.devart.com/. Related Posts Ruby Surges in Popularity RatingsTop Java Development Companies in IndiaTencent expands Venture Lab support worldwideFrance to Construct