In one of my stored pocedure’s an input parameter accepts Guid value & every time I wanted to test it,I used to run class from C# with Guid.NewGuid().ToString() to copy value & add it to stored procedure.Quite weird right 🙂 Because I never knew how else I can generate a guid value.
Visual Studio External Tools come with a tool guidgen.exe that can help you create Guid in a specified format.
Path – C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\guidgen.exe
How to Use guidgen.exe?
- Run exe
- Select the format you want for the GUID.
- Click New GUID & then Copy.
The GUID is copied to the Clipboard so that you can paste it whereever you want.
If you want to generate another GUID, click New GUID