SQL Server: Search all tables for a particular GUID

前端 未结 5 2074
说谎
说谎 2021-02-03 23:10

i came across the need to cleanse some data, and i need to find some particular guids (i.e. uniqueidentifiers) in SQL Server°.

i\'ve come up with a stor

5条回答
  •  不知归路
    2021-02-03 23:47

    Sounds like you basically want to concatenate the list of columns into your dynamic sql. There isn't a first class concat function in mssql, you can write your own CLR udf to do it but I don't love that solution. Check this question for some mssql concat solutions.

提交回复
热议问题