Re: Is TDS used only if server is local?
From: Brett (no_at_spam.net)
Date: 01/04/05
- Next message: Darin: "sp_addmergepublication error from VB.NET"
- Previous message: ben: "read datareader stream and read output parameters at the same time"
- In reply to: Sahil Malik: "Re: Is TDS used only if server is local?"
- Next in thread: William \(Bill\) Vaughn: "Re: Is TDS used only if server is local?"
- Reply: William \(Bill\) Vaughn: "Re: Is TDS used only if server is local?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 4 Jan 2005 06:30:41 -0500
TDS will work if the SQL Server is on a different machine, in which case
TCP/IP or named pipes must be used?
Thanks,
Brett
"Sahil Malik" <contactmethrumyblog@nospam.com> wrote in message
news:ezlKNth8EHA.2700@TK2MSFTNGP14.phx.gbl...
> As Bill Vaughn said, TDS is what SQL Server understands!!
>
> Both SQLServer provider and OleDB provider use TDS eventually, but the
> OleDB provider has to go through a bunch of complicated interfaces on your
> local machine before it gets to TDS - which is why the performance hit.
>
> - Sahil Malik
> http://dotnetjunkies.com/weblog/sahilmalik
>
>
>
> "Brett" <no@spam.net> wrote in message
> news:OMj6zkh8EHA.2552@TK2MSFTNGP09.phx.gbl...
>> It sounds as though you are saying the driver is used in all cases. On
>> page 706 of 'Programming Microsoft Visual Basic .NET' version 2003,
>> these ADO.NET drivers are listed:
>>
>> - OLE DB .NET
>> - SQL Server .NET
>> - ODBC .NET
>> - .NET Data provider for Oracle
>> - SQLXML Library
>>
>> In reference to SQL Server .NET Data Provider, here is what the author
>> says, "This provider has been specifically written to access SQL Server 7
>> or later using Tabular Data Stream (TDS) as the communication medium.
>> TDS is SQL Server's native protocol, so you can expect this provider to
>> give you better performance than the OLE DB Data Provider."
>>
>> If TDS is always behind the scenes, why does the author specifically
>> mention it for SQL Server .NET Data Provider? What is wrong with using
>> the other drivers vs. this one?
>>
>> Thanks,
>> Brett
>>
>> "William (Bill) Vaughn" <billvaRemoveThis@nwlink.com> wrote in message
>> news:eLrFxRh8EHA.1396@tk2msftngp13.phx.gbl...
>>> TDS is used by the underlying data drivers and providers. It's the ONLY
>>> "language" that SQL Server speaks so it's always used behind the
>>> scenes--whether your SS is on the local system or on one 70 miles away
>>> on the network somewhere.
>>>
>>> hth
>>>
>>> --
>>> ____________________________________
>>> William (Bill) Vaughn
>>> Author, Mentor, Consultant
>>> Microsoft MVP
>>> www.betav.com
>>> Please reply only to the newsgroup so that others can benefit.
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>> __________________________________
>>>
>>> "Brett" <no@spam.net> wrote in message
>>> news:OoRH1bg8EHA.3376@TK2MSFTNGP12.phx.gbl...
>>>> In order to use TDS via ADO.NET, does the SQL Server need to be on the
>>>> same machine?
>>>>
>>>> If not, this will have to involve TCP/IP or named pipes correct? How
>>>> does TDS help in that case?
>>>>
>>>> Thanks,
>>>> Brett
>>>>
>>>
>>>
>>
>>
>
>
- Next message: Darin: "sp_addmergepublication error from VB.NET"
- Previous message: ben: "read datareader stream and read output parameters at the same time"
- In reply to: Sahil Malik: "Re: Is TDS used only if server is local?"
- Next in thread: William \(Bill\) Vaughn: "Re: Is TDS used only if server is local?"
- Reply: William \(Bill\) Vaughn: "Re: Is TDS used only if server is local?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|