Avatar of Christian Palacios
Christian Palacios
Flag for Canada

asked on 

Query SQL Server table and shuffle results

Hi there,

We want to query a table based on a few "where" clauses and then after the records are collected, we'd like to shuffle them so that when they are exported, they are always ordered differently.  We don't want to just simply use an "order" clause, so is there a way to shuffle the records before we export them to a CSV file using Powershell?

Thanks,
-Christian
Microsoft SQL ServerSQL

Avatar of undefined
Last Comment
oBdA

8/22/2022 - Mon