SQL Server

  Electronic_Eric 00:03 13 Mar 2008
Locked

Hi,
Im learning to program in C#. Im learning to do this by reading a book for the basics. The book is Microsoft Visual C# 2005. Ive got to the chapter where i use databases with my program. The book asks me to download and install SQL Server. So i downloaded Microsoft SQL Server Expression Edition.
Now in the chapter it tasks me to open a command prompt and run this command (in the correct folder).
sqlcmd -s yourserver\sqlexpress -e -iistnwnd.sql

When i do so, it goes away and tries to do something and then comes back saying that it couldn't log into something. Im assuming that yourserver in the name of my computer.

Im stuck and i haven't a clue on what its asking for. Does anybody know?

Cheers

  brundle 00:07 13 Mar 2008

`yourserver` actually means "your server" - it could be localhost, or your computer's NetBIOS name, or a name you chose when installing SQL. I am going by experience of the open-source SQL server, some set up is required first to establish a user name and password (aside from admin or root). Perhaps you need to do some configuration first.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?