SQL Data Generator

Latest version: 2.0

SQL Data Generator

Knowledge Base

Creating random GUIDs in SQL Data Generator

Category: How do I?
Date: 26 Nov 2008
Product: SQL Data Generator
You may wish to task SQL Data Generator with creating a Globally-Unique Identifier (GUID) to populate a text column.

It is possible to create a GUID in a string field by using the RegexpGenerator and entering the following in the Regular Expression field :

[0-9a-f]{8}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{4}\-[0-9a-f]{12}

Document ID: KB200805000252 Keywords: SQL,Data,Generator,GUID

Was this article helpful?

Search support
Forums