I have a 2 TB database and the Data Drive has filled up. My network team cannot expand the drive nor provide another drive so that the secondary data file can be pointed towards that. My question is can the secondary drive be pointed towards a network share .
You can do it, it doesn't mean you should. There is many things to take into account, like performances and reliability.
Putting the files on the network will probably cause you some performance problems as data needs to be moved across the network for every read, insert, update, delete.
If you have historic data, then maybe you could consider putting those older, less accessed data on the network. You would have less performance issue if you don't access the data often.
Then you might have some data corruption, for example if SQL Server is writing to the database, but the network fails. You have to keep that in mind.
That being said, if you want to do it anyways, you basically have to enable trace flag 1807 at the startup of your SQL Server and then you'll be able to do it.
I recommend you read those two references for a detail of the risks involved :
To transfer part of the database to the new file on the network, you should do the following operations:
- You add another filegroup to your database and it's location will be on the network.
- You need to recreate the clustered indexes or primary key clustered of the data that you wish to move to the network on the new filegroup.