Expression as column in SQL Query
You can write an expression and place it in the SELECT list of a SQL Query. For example , you want to display the Total Leaves available for the user from the Employee table. Total Leaves in this case...
View ArticleListing all the tables that contain the specified column name in SQL Server
Here’s a query that can be used to list all the table names that contain the specified column name from the INFORMATION_SCHEMA.Columns table. SELECT COLUMN_NAME, TABLE_NAME FROM...
View ArticleHow to set an default value for an existing column in SQL Server ?
If you want to set an default value for an existing column in SQL Server , you can use the ALTER command and specify the CONSTRAINT. How to set an default value for an existing column in SQL Server ?...
View ArticleGenerating Insert script with data for a table in SQL Server
If you want to generate the insert script for a table in SQL Server along with the data , you can do that by setting the “Types of data to script” to data only at the database level in the SQL Server...
View ArticleHow to change the value of identity column values in SQL Server ?
There are times when you want to insert the value of the identity column as a part of the insert query instead of using the default identify value. In this case , you can set the identity_insert to ON...
View ArticleDisplay a string in the Output Window in Visual Studio
You can use the Debug.WriteLine method that is defined in the System.Diagnostics namespace to display the string in the Visual Studio output window as shown. How to display a string in the Output...
View ArticleHow to Get the row and column number of cell in Excel?
In Microsoft Excel , the cell’s row number and the column number is identified from its address. For example , if the cell is G3 , then the column number is 7 and the row number is 3. But assume that...
View ArticleSingapore SharePoint Community Meeting on November 2016
Microsoft User Groups (Singapore) is hosting its User Group meeting on November 22 , 2016 from 6.30 PM at Microsoft Singapore, One Marina Boulevard , Level 22, Meeting Room, Singapore. This meetup will...
View ArticleHow to change the border color of multiple cells in Excel?
By default , the cell border color in Microsoft Excel is grey. You can change the border color of the cell in Excel and this blog post will demonstrate how to change the border color of multiple cells....
View ArticleHow to use Server.MapPath in the external C# classes in ASP.NET Project ?
Here’s a sample code snippet demonstrating the usage of Server.MapPath() in the external C# classes in ASP.NET project. How to use Server.MapPath in the external C# classes in ASP.NET Project ?...
View Article