Hi
I use the following connection string format to connect to my sql server databases
Public Const cnnstr As String = "Provider=sqloledb;Data Source=DEVSERVER;Initial Catalog=No3;uid=Waynest"
Is there a variant of this I can use to connect to a text file? Do I just need to specify a provider for text files, if so what is it called?
I ask because I want to trigger the transfer of the contents of a text file into a sql server table without using the bcp utility.
I use the following connection string format to connect to my sql server databases
Public Const cnnstr As String = "Provider=sqloledb;Data Source=DEVSERVER;Initial Catalog=No3;uid=Waynest"
Is there a variant of this I can use to connect to a text file? Do I just need to specify a provider for text files, if so what is it called?
I ask because I want to trigger the transfer of the contents of a text file into a sql server table without using the bcp utility.