|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 7:56 AM
Points: 2,063,
Visits: 3,441
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 7:54 PM
Points: 3,
Visits: 37
|
|
| Will this script work for databases using the FILESTREAM feature in SQL Server 2008?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 7:56 AM
Points: 2,063,
Visits: 3,441
|
|
I did not include that in this design but could look into that as well.
David
@SQLTentmaker SQL Tentmaker “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 7:54 PM
Points: 3,
Visits: 37
|
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 4:57 PM
Points: 440,
Visits: 481
|
|
Sweet code.
On the
SELECT @a = (SELECT SUBSTRING(@a,1,LEN(@a)- 1)) --Trim off the final comma; I'm sure there is a better way to do this... Why not just do a
SELECT @a = LEFT(@a,LEN(@a)- 1)
---------------- Jim P.
A little bit of this and a little byte of that can cause bloatware.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 7:56 AM
Points: 2,063,
Visits: 3,441
|
|
A lot of the code is sourced from another script posted by another user on the site. I reference the original script when I posted my version so that proper credit could be given. That particular section of code came with the original script. I will look at adding that in my version though. Thanks for the suggestion!
David
@SQLTentmaker SQL Tentmaker “He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
|
|
|
|