How to Format SQL query

How to Format SQL query?

While working on SQL queries especially when one is dealing is large lines of  SQL codein that case formatted and refracted query is a live savior. In this blog I’II provide you with the solution  which I found quite useful.

#Formatting SQL query using SSMS 

This is for the guys who regularly have to deal with the queries. There is no built in formatting in SSMS (SQL Server Management Studio) although Ctrl + Shift + Q will give you a Query Designer window from which you can copy formatted query but there are plugins available that will integrate with SSMS. There are a million others out there but not all of them that do plug into management studio, but the one I know of and it works very well is Apex SQL Refactor. It is a free plugin. Integrates with SSMS. Downside is that it is an all or nothing process. It does not refactor as you type. For complete  Installation Guide of Apex SQL Refactor, you may refer this.

#Formatting SQL query using Online Tool

This is one of the quick solution if you don’t have any plugin or you don’t want to as you may not have to deal more with SQL queries, there are tools that will do formatting for you. Again guys there are many online free tools available that you can use to format your large queries. One of my favorite is SQL-Format because apart from formatting it will give you many option, desktop version for this is also available but I prefer to better save  my PC storage and do it online.

 

How to turn windows 8 PC into Wifi Hotspot

How to turn windows 8 PC into Wifi Hotspot

In this article I’II explain you  “How you turn your PC into Wifi hotspot through command prompt”.

If you find yourself with a modem but no router, you can share one computer’s connection to other devices with a few commands. The wireless connection can be shared and used by other computers, tablets and phones. You’ll need to ensure that your computer has a wired and wireless network connection, or a data and Wifi connection. If you are not sure don’t worry I’II show you the command for this too .

Continue reading “How to turn windows 8 PC into Wifi Hotspot”

IIS Application Pools Pros and Cons

IIS Application Pools Pros and Cons

In this article we are going to see the IIS Application Pools Pros and Cons, before we start lets start what is Application pool identity, it is the name of the service or user account under which the application pool’s worker process runs. It denotes the system level privileges with which the web application runs on the IIS server. By default, starting in IIS 7.5 an application pool runs under the built-in ApplicationPoolIdentity account.

Continue reading “IIS Application Pools Pros and Cons”

How to Edit IIS ApplicationHost file

How to Edit IIS ApplicationHost file?

What is Application Host file?

ApplicationHost.config is the root file of the configuration system when you are using IIS 7 and above. It includes definitions of all sites, applications, virtual directories and application pools, as well as global defaults for the web server settings.  Continue reading “How to Edit IIS ApplicationHost file”

Avoid Multiple ASP .NET Deployment server

Avoid Multiple ASP .NET Deployment serverDeployment Server

Annoying Right ? I used to work on different projects and during debugging I found  a bit of an annoying behavior within Visual Studio. When debugging a solution that contains multiple project/application.

Visual Studio starts up a very new development web server for each project/application within your solution. After spending time on looking to the setting I finally came across the solution. Continue reading “Avoid Multiple ASP .NET Deployment server”

How to attach EXE file in Gmail

How to attach EXE file in Gmail ?

Most email providers, like G mail, don’t allow you to send executable or “.exe” files as G-Mail is most widely used mailing service hence security is a prime concern for Google because it contains the important confidential content/ data that yours . But this security sometime prevents us from doing something like sending exe as attachment, that’s why you will get a prompt while attaching .exe like below.

Gmail


 

To maintain the security of data , Google has a great security filter which scans your attachments for malicious contents. So it wont allow you to send the .exe extension files even if you wrap it in a zip or rar.

Continue reading “How to attach EXE file in Gmail”