SQL Server – Error Handling Using TRY…CATCH

Prior to SQL server 2005, the only way of performing the error handling was to test vale of @@ERROR global variable. Once the SQL Server completes the execution of a Transact-SQL statement, it records the status of result in @@ERROR. If the error occurred, @@ERROR contains the error number. If

» Read more

Understanding Web Communications

Like all client-server applications, web applications have two distinct components: Client Client also known as the front-end interface, the web browser presents the user interface, accepts user input, and sends data to the server for processing. Server Server also known as the back end, the web server responds to requests from clients for specific

» Read more

Authentication Vs Authorization – Security Concepts

We all know about the security concepts, Authentication and Authorization. However, it is really important to know the difference between Authentication and Authorization.  Lot of detailed stuff is available over the internet but here sharing with you the brief information about the difference between Authentication and Authorization, so that we can

» Read more

SQL Server – Get Comma Separated Values from table

I had requirement to get the Comma Separated Values from the table for specific column. So here sharing with you example how i handle this situation. USE tempdb GO CREATE TABLE test1 ( column1 INT, column2 VARCHAR(6) ) INSERT INTO test1 VALUES (1,'Test1'), (1,'Test2'), (2,'Test3'), (2,'Test4'), (3,'Test5') Now see the

» Read more

Find the List of the SQL Servers running on a network

I had requirement to find list of all the SQL Server installed on local network then I found few very useful commands. Here sharing with you all. You can use sqlcmd, osql and isql with the -L option as shown below. Using sqlcmd -L Servers: SQLServer1 SQLServer2\DBServer SQLServer3\ReportServer SQLServer4\SQLExpress SQLServer5

» Read more

Varinder Sandhu – Microsoft Certified Technology Specialist (MCTS): Microsoft .NET Framework – Application Development Foundation

Dear and Respected All, I am pleased to announce that today (06-July-2011) I have passed the examination of Microsoft Certified Technology Specialist (MCTS): Microsoft .NET Framework – Application Development Foundation. For more details about this exam 70-536: http://www.microsoft.com/learning/en/us/exam.aspx?id=70-536

» Read more
1 20 21 22 23 24 31