Jul 5, 2005 #1 ashvn Programmer Mar 21, 2001 33 MU Hi, Is it possible to use T-SQL to know if a specific filegroup already exists? If so, how can this be done? Thanks!!
Hi, Is it possible to use T-SQL to know if a specific filegroup already exists? If so, how can this be done? Thanks!!
Jul 5, 2005 #2 hmckillop Programmer Oct 30, 2001 1,540 GB you can use the function filegroup_id() to get an id of a filegroup. This returns NULL if filegroup doesnt exist. "I'm living so far beyond my income that we may almost be said to be living apart Upvote 0 Downvote
you can use the function filegroup_id() to get an id of a filegroup. This returns NULL if filegroup doesnt exist. "I'm living so far beyond my income that we may almost be said to be living apart
Jul 5, 2005 Thread starter #3 ashvn Programmer Mar 21, 2001 33 MU Thanks hmckillop, that made the job! Upvote 0 Downvote