Tip: Supress Errors When Duplicate Data Is Inserted in MySQL
There are times in which we need to suppress some errors that are not impacting what we currently are working on. In MySQL, we may want to suppress an error
There are times in which we need to suppress some errors that are not impacting what we currently are working on. In MySQL, we may want to suppress an error
We can use “|=” and configure the ServicePointManager’s SecurityProtocol to turn on the TLS versions and thereby not remove support for other protocols. System.Net.ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12; ? Visit
You can not use the ALTER TABLE statement in SQL Server to rename a column in a table. You can however, use the sp_rename stored procedure if you do not
There are a lot of layout settings that help you define the page layout for printing???background, margins, etc. The Print area option allows you to select a certain area to
You can use the following snippet to quickly find out a column’s name. COL_NAME accepts two parameters: TableID and the ordinal position. SELECT COL_NAME(object_id(‘waybill’),2) AS col_name ? Visit the DevX
It can become quite frustrating when you cannot remember the name of an SQL stored procedure, especially if you have quite a few of them. But, let’s say that you
Use the GetLeftPart method on the HttpRequest’s URI with Authority as the UriPartial’s value to retrieve the DNS Name. string dnsName = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Authority); ? Visit the DevX Tip Bank ?
ASP.NET websites need some static data to be initialized, so that subsequent requests can utilize the loaded data and load much faster. It is a common practice to write such
During testing or monitoring, there is a constant need to monitor the number of sessions created, so as to better correlate the performance metrics collected. The Performance Monitor tool is