If the filename column stores the full path as text, you can update the drive letter with REPLACE() instead of changing each row manually. For example: UPDATE dbo.videofiles SET filename = REPLACE(filename, 'Z:\video\', 'X:\video\') WHERE filename LIKE 'Z:\video\%'; I would run a SELECT with the same REPLACE() first to preview the affected rows, and make a backup before runni...
Want to know the latest news and articles posted on SQLTeam.com Forums - Latest posts?
Then subscribe to their feed now! You can receive their updates by email, via mobile or on your personal news page on this website.
See what they recently published below.
Website title: SQLTeam.com Forums