
SQL Server right() function with cast()
The right() function returns the right part of a character string with the specified number of characters. It […]
The right() function returns the right part of a character string with the specified number of characters. It […]
The UNION, EXCEPT and INTERSECT operators are relational operators that combine rows from the results sets of two […]
CLR stands for Common Language Runtime. This blog post is about writing SQL Server stored procedures and functions […]
This blog post continues from the previous one called Import XML File to Excel. Now, assume we have […]
In this blog post we follow the instruction at the MSDN website’s article Creating an XML Mapping Schema […]
Here we have a couple of code examples that work with dates. The first one gets today’s date […]
In SQL Server you can run a SELECT query that shows you all of the records that have […]
As mentioned earlier, the Transact-SQL statements have three categories: DDL statements, DCL statements, and DML statements. Each of […]
In SQL Server, user-defined functions (UDFs) are similar to stored procedures, except that they do not support OUTPUT […]
We need to back to basics in our Transact SQL (T-SQL) studies and look at programming with variables. […]
You may to date and time stamp every row/record that you add to your table. You may want […]
Suppose you have one table where you need to show all of the rows that have duplicate (more […]