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

sqlcmd

 
Goto page Previous  1, 2
   Database Help (Home) -> Setup RSS
Next:  Problems after running SHRINKFILE  
Author Message
Gene Wirchenko

External


Since: Oct 31, 2006
Posts: 177



(Msg. 16) Posted: Mon Nov 01, 2010 3:43 pm
Post subject: Re: sqlcmd [Login to view extended thread Info.]
Archived from groups: microsoft>public>sqlserver>setup (more info?)

On Sat, 30 Oct 2010 10:33:51 +0200, Erland Sommarskog
wrote:

>Gene Wirchenko (genew@ocis.net) writes:
>> I have little tolerance for people who misstate other people
>> positions. There is a lot of documentation. I do not want to have to
>> read it all to get started. I want the relevant portion to get
>> oriented.
>
>And I pointed you to do it. What more do want me to do? Fly over, and click
>so you get the page in front of you? What is so difficult to use an index?
>Really, Books Online is your biggest asset to get working with SQL Server,
>so there is all reason to get acquainted with it. (And it's not that Books
>Online is very SQL Server-specific, but it uses the same platform and
>structure as MSDN Library. Well, at least up to VS 2008. What ships with
>VS 2010 is a disaster.)
>
>> Did you cover the bit where I had no known reason for looking it
>> up? The tutorial implied that the bare command would just work.
>
>Are you referring to this?
>ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_5techref/html/00d57437-7a29-4da1-b639-ee990db055fb.htm

I do not know since I do not know what the URL means, nor can
Firefox resolve it.

>The first thing I see is the second note: "By default, SQL Server Express installs as the named instance *sqlexpress*."

This line is familiar though.

>So already there is a warning that you are not connecting to a default
>instance.

Actually, it is the other way around. It says that (when not
specified otherwise) there is a default instance named SQLExpress
installed.

Unfortunately, Microsoft decided to create a new definition of
"default". They should have called what they call "default instance"
something unobfuscatory like "unnamed instance".

Imagine this sentence: "By default, ExampleSoftware installs with
a ExampleSetting value of ExampleValue." Would you not say that the
default value for the setting is ExampleValue? Note how Microsoft
does not follow this logical method.

>Yes, that is a problem. Sometimes you need to read documentation more than
>once to get the gist. That happens to me too.

There are too many landmines. I can not wait for my book. I am
bothered that Microsoft's documentation does not cut it.

Sincerely,

Gene Wirchenko

 >> Stay informed about: sqlcmd 
Back to top
Login to vote
Hugo Kornelis

External


Since: Jan 11, 2008
Posts: 440



(Msg. 17) Posted: Tue Nov 02, 2010 12:05 am
Post subject: Re: sqlcmd [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 1-11-2010 23:43, Gene Wirchenko wrote:
> On Sat, 30 Oct 2010 10:33:51 +0200, Erland Sommarskog
> wrote:
>
(snip)
>> Are you referring to this?
>> ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_5techref/html/00d57437-7a29-4da1-b639-ee990db055fb.htm
>
> I do not know since I do not know what the URL means, nor can
> Firefox resolve it.

It's a Books Online link. If you open BOL and look at the title bar,
you'll see a link somewhat like the one Erland posteed. Copy Erland's
link, in that bar, hit enter and you're good to go.


>> The first thing I see is the second note: "By default, SQL Server Express installs as the named instance *sqlexpress*."
>
> This line is familiar though.
>
>> So already there is a warning that you are not connecting to a default
>> instance.
>
> Actually, it is the other way around. It says that (when not
> specified otherwise) there is a default instance named SQLExpress
> installed.

Exactly. And it does not say that it will _connect_ to that instance by
default. In fact, the article explicitly gives you two connection
methods - one to a default instance, and one to a named instance. Which
is what SQLExpress' installation defaults to.

> Unfortunately, Microsoft decided to create a new definition of
> "default". They should have called what they call "default instance"
> something unobfuscatory like "unnamed instance".

Agreed.

> Imagine this sentence: "By default, ExampleSoftware installs with
> a ExampleSetting value of ExampleValue." Would you not say that the
> default value for the setting is ExampleValue? Note how Microsoft
> does not follow this logical method.

You're wrong. It says: "By default, ExampleSoftware installs with a
ExampleSetting value of ExampleValue. The ExampleTool by default sets
ExampleSetting to OtherValue". Explicitly repeating the default
installation option for SQLExpress in a subject that is actually about
connecting helps prevent misunderstandings.

>> Yes, that is a problem. Sometimes you need to read documentation more than
>> once to get the gist. That happens to me too.
>
> There are too many landmines. I can not wait for my book. I am
> bothered that Microsoft's documentation does not cut it.

There is plenty of content in Books Online that warrants critical
comments. This is not an example of that content, though. Criticising
Books Online in a thread where you already have admitted that you did
not read the topic does not make a very convincing argument.



--
Hugo Kornelis, SQL Server MVP
My SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis

 >> Stay informed about: sqlcmd 
Back to top
Login to vote
Gene Wirchenko

External


Since: Oct 31, 2006
Posts: 177



(Msg. 18) Posted: Tue Nov 02, 2010 12:05 am
Post subject: Re: sqlcmd [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 02 Nov 2010 00:05:37 +0100, Hugo Kornelis
wrote:

[snip]

>There is plenty of content in Books Online that warrants critical
>comments. This is not an example of that content, though. Criticising
>Books Online in a thread where you already have admitted that you did
>not read the topic does not make a very convincing argument.

I did not admit to not reading the topic. I read the topic.

It is true that I did not understand the "URL" used to get to
particular pages, but I was following links so did not need them.

Sinceerely,

Gene Wirchenko
 >> Stay informed about: sqlcmd 
Back to top
Login to vote
Gene Wirchenko

External


Since: Oct 31, 2006
Posts: 177



(Msg. 19) Posted: Tue Nov 02, 2010 1:05 pm
Post subject: Re: sqlcmd [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 30 Oct 2010 10:33:51 +0200, Erland Sommarskog
wrote:

[snip]

>Are you referring to this?
>ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_5techref/html/00d57437-7a29-4da1-b639-ee990db055fb.htm

It appears not. It can not be found.

[snip]

Sincerely,

Gene Wirchenko
 >> Stay informed about: sqlcmd 
Back to top
Login to vote
Erland Sommarskog2

External


Since: May 30, 2004
Posts: 2061



(Msg. 20) Posted: Tue Nov 02, 2010 11:47 pm
Post subject: Re: sqlcmd [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Gene Wirchenko (genew@ocis.net) writes:
>>Are you referring to this?
>>ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_5techref/html/00d57437-7a29-4da1-b639-ee990db055fb.htm
>
> It appears not. It can not be found.

I copied and pasted from the what I believe is the most recent version of Books Online. As for to get hold of it, well, the information is in this
post - as well as all my other posts.

The page is also available on MSDN, but I tend to use Books Online more. You might have looked at
http://msdn.microsoft.com/en-us/library/ms166559.aspx or
http://msdn.microsoft.com/en-us/library/ms166559%28SQL.100%29.aspx or even
http://msdn.microsoft.com/en-us/library/ms166559%28SQL.90%29.aspx

All these make clear that to connect an Express instance installed
in the default way, you need to specify the instance name. Yes, it may
not be apparent the first time, but as I said, technical documentation
often requires several readings before the penny drops. And that applies
to me and Hugo as well.

--
Erland Sommarskog, SQL Server MVP, esquel RemoveThis @sommarskog.se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
 >> Stay informed about: sqlcmd 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
sql server 2008 single user mode and sqlcmd - I need to change the erroneous location of tempdb. Sql server service now does not start. When I start it in single user mode "net start mssqlserver /f", it starts, but then when I try to start sqlcmd (to correct the tempdb path) I get an err...

SQL Server 2005 on Windows Server 2008 - sqlcmd can not co.. - SQL Server 2005 SP2 (9.0.3068) installed on Windows Server 2008 Enterprise. When I installed SQL Server I specified a "named instance" with the name TEAMFOUNDATION. This appears to be working OK; I have Team Foundation Server and SharePoint ...

Backup SQL server from vbs - Hi I have this script to backup SQL Server from a VBScript but am having problems with it: Dim fso Dim FolderName Dim FileName Set WshShell = WScript.CreateObject("WScript.Shell") FolderName = FolderName & " M E" FileName = Fo...

SQL Server 2005 Setup Error - When installing SQL Server 2005 Beta 2 Support Files (after .NET Framework 2.0 support files installed) I receive the following error: Errors ocurred during the installation: Error 110 installing Microsoft SQL Server 2005 Beta 2 Setup Support Files. ...

Memory Usage in Enterprise Edition 2000 - I have a server with 4GB of RAM and SQL 2000 Enterprise Edition. My problem is this: In Task Manager the memory usage is stuck at 3GB. I have included the 3GB switch in the boot.ini file, but how do I get the machine to use more than 3GB of RAM?
   Database Help (Home) -> Setup All times are: Pacific Time (US & Canada)
Goto page Previous  1, 2
Page 2 of 2

 
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 ]