Using TIMESTAMP datatype to reduce database corruption
There will be times when 2 people are trying to change the same record at the same time. For example, a Human Resources Manager might want to change an Employee’s salary and an IT person might want to...
View ArticleSQL SERVER – Update Lock vs Exclusive Lock
Exclusive (X) Used for data-modification operations, such as INSERT, UPDATE, or DELETE. Ensures that multiple updates cannot be made to the same resource at the same time. An exclusive lock allows only...
View ArticleIndexedDB – The Database in Your Browser
Introduction IndexedDB is new in HTML5. Web Databases are hosted and persisted inside a user’s browser. By allowing developers to create applications with rich query abilities it is envisioned that a...
View ArticleWhy LINQ beats SQL
If you’re not a LINQ addict, you might wonder what the fuss is about. SQL isn’t broken, so why fix it? Why do we need another querying language? The popular answer is that LINQ is INtegrated with C#...
View ArticleJavaScript Trim Prototype
Trim function prototype:String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g,""); }Example:var mystring = " hello world "; alert("[" + mystring.trim() + "]");
View Article
More Pages to Explore .....