SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Content with tag RANDOM Rss

   Items 1 to 1 of 1   
 

Random default string for a column using CASE and NEWID

Sometimes you just need to populate a CHAR/VARCHAR column for testing with a random selection of string literals. Here is a quick and easy script.  Read more...
By Bill Leung 2008/03/03 | Source: SQLServerCentral.com | Category: RANDOM
Rating: |  Discuss |  Briefcase | 373 reads
   Items 1 to 1 of 1