You can easily escape a single quote in SQL Server by doubling it. Yes, it is that simple. Add two quotes (') instead of a single quote and SQL Server will store the single quote along the string in ...
Web developers using Asp.Net, commonly use the GridView control to display data in a tabular format. The GridView comes with many useful features, especially paging. Here in this post I’ll show you ...
If you have worked with SQL Server Database, then I am sure you know how to create a table, add columns, keys etc. In SQL Server, either you use a Create Statement to create a table or you might use ...
Let us assume I have a Sales table with sales data for each month. Every day sales is stored in the table with columns such date, quantity, price etc. I want to get the total sales for every month ...
The example in this article is an extension of my previous article on how to add or remove HTML elements dynamically using jQuery. The previous article is very popular, however programmers, especially ...
Here’s a list of top 5 SQL Server posts and articles that were viewed, shared and liked on encodedna.com. Some of the SQL Server posts in the list were pinned as “featured snippets” once or twice and ...
Here’s a simple SQL Server tip, I thought would be useful for beginners. Let us assume I have a Sales table with few records. Each row in the table has data such as total quantities sold, total price ...
You can bind an SQL Server stored procedure with an Asp.Net SqlDataSource control. The SqlDataSource Web Server control, as you know, allows you to access data from a remote database, using either a ...
We need charts in our dashboard to display data graphically as it provides an easy way to understand historical data that are stored in our databases. Charts come in many shapes and the most common ...
The aggregate MIN() function in SQL Server is used to find the minimum or the smallest value of a column. It is a very commonly used built-in function in SQL Server. Now recently I came across ...