Welcome to dbForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Connection providers vs

 
   Database Forums (Home) -> Connect RSS
Next:  GoldenGate?  
Author Message
Blue Sky

External


Since: Sep 15, 2006
Posts: 7



(Msg. 1) Posted: Mon Jan 28, 2008 2:21 pm
Post subject: Connection providers vs
Archived from groups: microsoft>public>sqlserver>connect (more info?)

I recently ran "SQLRecon" on my network and then ran SqlCmd -L. There was a
10% difference of 20 servers. (SqlCmd found more). Why wouldn't they both
find the same number of servers?

For years i have been connecting to Sql servers via Osql, SqlCmd, Management
Studio, Query Analyzer, LinkedServers, etc. Now, i would like to understand
why they might give different lists of servers back to users...

My real question to the group is this: Where can i find a document that
describes the different methods (protocols, api's) by which SqlServer
communicates?

Thanks!

--
The Spirit gives life; the flesh counts for nothing! (Jn 6:63)

 >> Stay informed about: Connection providers vs 
Back to top
Login to vote
Andrew J. Kelly

External


Since: Sep 01, 2003
Posts: 968



(Msg. 2) Posted: Mon Jan 28, 2008 8:44 pm
Post subject: Re: Connection providers vs [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I believe oSQL like most tools rely on the SQL Browser service to identify
SQL Servers. It does this by communicating with port 1434 which is the
default browser port and it will respond with the ports of any running
instances on that particular server. I believe SQL Recon does a combination
of both using the browser service and pinging particular ports looking for
SQL Server to respond. For instance if the browser service is turned off and
you ping 1434 you will get no reply. But if you have a running instance at
say the default port of 1433 and ping it specifically it will respond. If
you Google "sql server browser service" you should see a bunch of hits that
will give you a good start. This one in particular should get you going
right off the bat.
http://msdn2.microsoft.com/en-us/library/ms181087.aspx


--
Andrew J. Kelly SQL MVP
Solid Quality Mentors


"Blue Sky" <BlueSky.TakeThisOut@discussions.microsoft.com> wrote in message
news:5B49DD8D-6DA5-4684-82FE-4CD54311F18F@microsoft.com...
>I recently ran "SQLRecon" on my network and then ran SqlCmd -L. There was
>a
> 10% difference of 20 servers. (SqlCmd found more). Why wouldn't they
> both
> find the same number of servers?
>
> For years i have been connecting to Sql servers via Osql, SqlCmd,
> Management
> Studio, Query Analyzer, LinkedServers, etc. Now, i would like to
> understand
> why they might give different lists of servers back to users...
>
> My real question to the group is this: Where can i find a document that
> describes the different methods (protocols, api's) by which SqlServer
> communicates?
>
> Thanks!
>
> --
> The Spirit gives life; the flesh counts for nothing! (Jn 6:63)

 >> Stay informed about: Connection providers vs 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> Connect All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]