This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- randomise a column's values using a list of specified values | |
| IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'ShuffleTable') | |
| DROP TABLE [ShuffleTable]; | |
| IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'InsertDataListTable') | |
| DROP TABLE [InsertDataListTable]; | |
| GO | |
| CREATE TABLE [InsertDataListTable] ([TargetColumn] NVARCHAR(50)); |