Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Loop through resultset, update table and remove trailing and leading spaces.

$
0
0
I have a query which generates a SQL which I then copy and paste in a query window and execute. I am wondering if I can use loop so I don't have to copy and paste and execute all sql queries. but I don't even know how to create a loop for this update stat

Viewing all articles
Browse latest Browse all 3145

Trending Articles