devxlogo

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

Achieve Faster and More Controlled Management of MySQL Databases with Updated dbForge Studio for MySQL

Devart introduced a significant update of dbForge Studio for MySQL with a bunch of new unique features, including support for Google Sheets, new schema comparison and synchronization engine, and much more. Devart, a Czech software vendor of database tools and data connectivity solutions, has released a significantly improved version of its universal MySQL and MariaDB GUI tool, dbForge Studio for MySQL v.7.4. The most outstanding and notable updates implemented in dbForge Studio for MySQL are:   1) Support for Google Sheets for easy migration of table data between MySQL tables and Google Spreadsheets. The feature is incorporated into handy Data Export / Import Wizard, and the only thing users should do now is to specify the URL/ID of a Google Spreadsheets table. 2) Improved SQL document management with Execution notifications and Transaction Reminder as well as highlighting of the current code line. 3) Enhanced Code Completion with dozens of new variables and functions supported (Percona Server variables, MySQL Server variables, variables for MariaDB Server, etc.) 4) Both, schema/data comparison and synchronization wizards feature a new progress window with the list of processes taking place and specification of time elapsed. A brand new schema comparison and synchronization engine is implemented as well. 5) Now, dbForge Studio for MySQL allows copying databases seamlessly through the command-line interface and alerts users about the result of database copying. dbForge Studio for MySQL is a universal GUI tool for MySQL and MariaDB database administration, development, and management. The IDE allows you to create and execute queries, develop and debug stored routines, automate database object management, analyze table data via an intuitive interface, and much more.  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/.

Statistics IO and Statistics Time

STATISTICS IO?and STATISTICS TIME?show the amount of time spent on a query and the reads and writes of the query in question. This is good to know for quick performance

Infinite Heap in Java

This method creates a PDF file and returns the binary PDF data as a byte array. This particular line of code supposes that the resulting file is small and fits

Determine if the Current Request Is from a Crawler in ASP.NET

The System.Web.HttpBroswerCapabilities?has an important property called “Crawler” that enables us to handle requests from crawlers. Please check out the example below: Var isCrawler = ((System.Web.Configuration.HttpCapabilitiesBase)Request.Browser).Crawler;

Connecting to a MySQL Database from the Command Prompt

Connecting to a MySQL database from the command prompt can be very easy: [root@mypc]#mysql -S /opt/db/mysql//mysql.sock -uroot -prootPassword Here, we are trying to connect to the MySQL database Installed in

Greatly Improved Edit Mode and Data Refresh in Updated Devart Excel Add-ins 1.7

Devart has released a new version of Devart Excel Add-ins that allow connecting Excel to cloud and database data, edit this data, and save it back to the data source. The update offers many major improvements like advanced Edit Mode, refined data Refresh options and new cloud app add-ins. Devart team, a recognized vendor of professional database management software for developers and DBAs, has announced the release of Devart Excel Add-ins 1.7. The update allows much more convenient and flexible editing and refreshing cloud and database data, including: 1) Advanced Edit Mode that eliminates a lot of previous limitations. Now a user can freely:     ??? Copy and paste data in the Edit Mode, including pasting multiple rows, and copying data in the same workbook and worksheet with the imported table    ??? Use many Excel editing features, like formulas, scripts, Autofill, etc.     ??? Sort and filter of the table with imported data, hiding and unhiding columns, allows editing data outside of the imported table on the same worksheet, etc.    ??? …and many more.              2) Refresh Improvements that preserve user’s data, entered outside of the table with imported data on the same worksheet, data sorting settings in this table and table styles. Moreover, the new Refresh options allow users:     ??? See the refresh operation progress and cancel it if necessary    ??? Disable confirmation dialog boxes when starting refresh 3) Other Improvements that include the following handy features:     ??? Excel Add-in for Zendesk has supported custom fields for certain Zendesk objects    ??? Excel Add-in for Magento offers a more convenient connection editor for connecting to Magento 2 servers    ??? Excel Add-in for Salesforce now allows connecting to Salesforce SandboxIt???s worth to mention that Devart Excel Add-ins now fully support Windows scaling for high-DPI devices and display progress of commit changes operations.  For more information about improved Devart Excel Add-ins, please visit https://www.devart.com/excel-addins/. 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.  Learn more about Devart at https://www.devart.com.

Introducing brand-new dbForge Studio for PostgreSQL, a powerful IDE for working with PostgreSQL databases

Devart announced the first release of dbForge Studio for PostgreSQL that allows to manage and develop database objects in PostgreSQL. This new IDE offers many robust features like Code Completion, Object Explorer and Data Editor which help users create, develop and execute queries as well as edit and adjust the code to their requirements in a convenient and user-friendly interface. Devart, a Czech software provider of database connectivity solutions and tools for database management and development, announced the first release of dbForge Studio for PostgreSQL. Using this tool,users can view all the required information of PostgreSQL database objects they are interested in. In the first version, dbForge Studio for PostgreSQL offers the following key features: 1) Code Completion enables users to save their time and enhance the code quality while writing SQL queries with the help of numerous helpful functionalities like:    ??? List Members    ??? Parameter Info    ??? Quick Info    ??? Complete Word 2) Object Explorer with expandable objects allows users to navigate through the object tree, find any PostgreSQL objects of interest and perform the following tasks:    ??? Retrieve data from a table to present on a single SQL document    ??? Truncate a table    ??? Select Properties to view specific information on objects 3) Data Editor simplifies the process of editing PostgreSQL table data offering many handy capabilities:    ??? Editing data similar to Google Sheets and MS Excel or in the card view mode    ??? Managing the settings of tables, such as adjusting column width    ??? Setting either paginal or auto-search mode by default    ??? Changing colors and formats of rows and cells using a rich set of fonts and sizes    ??? Providing predefined data type formats so that users can select the most suitable for their needs For more information about dbForge Studio for PostgreSQL, please visit https://www.devart.com/dbforge/postgresql/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.  Learn more about Devart at https://www.devart.com.

Print All Table Column Definitions in an Entire Database

The following script can be used to print all column definitions for all the tables in your database. SELECTsys.schemas.name + ‘.’ + sys.objects.name AS TableName,sys.columns.name as ColumnName,CASEWHEN sys.types.name IN (‘char’,’varchar’)

Why XML Parsers Often Are Not Very Useful

int start = xml.indexOf(??????)+ ??????.length();int end = xml.indexOf(??????);String name = xml.substring(start, end); This native XML parsing only works with the most simple XML documents. It will most certainly fail if:

List All Available Time Zones

In case you are developing an application that is based on time zones, this example will be of help. Lisiting 1. import java.util.TimeZone;public class AvailableTimeZones{ public static void main(String args[])

Finding All Currently Blocked Requests in SQL

Here is a quick way to find all currently blocked requests in SQL: SELECTSESSION_ID,STATUS,BLOCKING_SESSION_ID,WAIT_TYPE,WAIT_TIME,WAIT_RESOURCE,TRANSACTION_IDFROM sys.dm_exec_requestsWHERE STATUS = N’suspended’;GO

Using the iFrame HTML Tag

The HTML tag creates an inline frame, used to embed another document into your current HTML page. This element is great because you can include content such as advertising banners,

Understanding UNION in MySQL

Assuming there are tables EMP and EMP2, which have the same schema, and there are possible duplicate IDs present in them???the following query will help us identify the unique records:

View the Breadcrumb of Page Visits in Chrome

To see the history of pages you have recently visited, you just have to “long” press the back button (left arrow) in your browser. Just click and hold and you

Using dm_exec_function_stats in SQL Server 2016

You can use the dm_exec_function_stats (in SQL Server 2016) to check detailed execution details of a function. These include: execution_count – the number of times this function has been executedlast_execution_time

?????????????????? ?????????????????? ??????????????

Pozitiv – ?????? ???????????????????????????? ????????????????, ?????????????? ???????????????? ???????????? ?????????????????? ???????????????????? ?????????????????? ?? ??????????????????, ?????????????? ?????? ???? ?????????????? ?????? ??????????????! ????????: http://workle.website/74

Check Whether a String Contains Another String

Often, we have to do a string comparison by ignoring the case, or the results end up being wrong. The StringComparison enum provides the “ordinalignorecase” member that allows you to

A Handy Delete Stored Procedure

Deleting data in a database can a very dangerous operation in the wrong hands. Sometimes you are too busy to really concentrate fully; or sometimes you have given the wrong

Using IFNULL in MySQL

There are numerous cases in which you get null and are not able to handle it effectively in the code. MySQL has a command that can help you know if

Usage of a Custom Ordinal in Enum

The getCustomValue() method on the enum returns the custom value associated. You can use this mechanism when you want to override the default ordinal with a custom ordinal. Code snippet public

Allow SQL Server to Silently Truncate Data

SQL Server usually presents an error on an attempt to insert more data into a field than it can hold. It typically throws an error message similar to the following: