Slashdot Mirror


Beginning SQL Server 2005 Express

Graeme Williams writes "Beginning SQL Server 2005 Express Database Applications with Visual Basic Express and Visual Web Developer Express from Novice to Professional is in two parts, "Working with SQL Server Express" and "Working with Visual Basic Express and Visual Web Developer Express". The first part of the book is quite a bit larger (368pp vs. 204pp), so the title, as long as it is, isn't all that accurate. How about, "An introduction to SQL Server 2005 Express, including desktop and web applications in Visual Basic"? The book asks to be judged against a high standard: Can it turn a SQL and Visual Basic novice into a professional? The first part of the book is an excellent introduction to SQL Server in its several manifestations, and essential for anyone who is new to SQL Server 2005 Express. The second part doesn't provide as much help for the complete beginner, but still provides a good introduction to developing database applications." Read the rest of Graeme's review. Beginning SQL Server 2005 Express Database Applications author Rick Dobson pages xxi + 596 publisher Apress rating 8 reviewer Graeme Williams ISBN 1-59059-523-8 summary An excellent introduction to SQL Server 2005 Express and a

The first part of Beginning SQL Server 2005 Express, on SQL Server Express, covers a large amount of material. Starting with a basic introduction to SQL, the book builds in two directions, covering more complicated SQL as well as SQL Server Express administration. In 368 pages, you'd naturally expect a fair amount of information, but it's also thorough and well-organized. One test of how well an introductory book is organized is whether you can usefully keep it on your shelf to refer to later, and I think Beginning SQL Server 2005 Express passes that test very well. You can verify the breadth of topics covered by looking at the online table of contents and the author's web site for the book, which is detailed enough to be a very clear summary of what the book covers.

The generous amount of material downloadable from the web site includes all the SQL scripts from part one – these samples alone represent an excellent introduction to SQL (or T-SQL, as Microsoft insists on calling it). There's also a 60-page bonus chapter, not included in the book, on ASP .NET.

The explanation of SQL Server administration is a big bonus for the book, and it clearly lays out the difference between SQL Server 2005 and its smaller brother, the Express Edition, as well as the changes from SQL 2000. While I was reading this book, I had to do some simple database administration on a couple of SQL 2000 databases, one a production server, and the book gave me a very useful head start. If you found yourself upgrading from SQL Server Express to a larger and more complicated SQL Server configuration, Beginning SQL Server 2005 Express wouldn't give you everything you needed to know, but it would provide a good introduction.

Beginning SQL Server 2005 Express was published in December 2005, after the release of Microsoft's SQL Server 2005 Express but while SQL Server Management Studio Express was (and still is) only available as a "Community Technology Preview". I took the risk and installed it, and it seems fine, connecting both to a local instance of SQL Server 2005 Express and a remote SQL Server 2000.

It's inevitable in an introduction that some material be covered too hastily. For example, Dobson suggests that a database constraint could be used to ensure that a purchase amount is less than a particular dollar limit unless an approver name is also present in the database record. But that's a business rule that shouldn't be included in the database schema. At a minimum, the book might have mentioned the distinction. There's a good discussion of data types, which is somewhat weakened by not being prescriptive enough. Should I use the bit data type because they're small and will squeeze into tight spaces, or avoid them because of the unpacking overhead, if any? The book doesn't say.

There's one omission from the book that may trip you up when you try to run some of the Visual Basic examples, specifically code that attempts to attach a database file to the Server. The access privileges for the database server naturally depend on the user id it's running under, and the default installation uses a special Windows account which doesn't have access to your whole system. For running the examples, the simplest (and least secure) solution is to change the user id to your own account, which you can do using the SQL Server Configuration Manager, shown in Figure 1-4 on page 18. I guess the most secure solution is to create a new account whose privileges are limited to a specific directory, but I'm certainly not an expert in this area. Beginning SQL Server 2005 Express doesn't discuss it at all.

The second part of Beginning SQL Server 2005 Express, "Working with Visual Basic Express and Visual Web Developer Express", begins with a superficial introduction to Visual Basic. The problem is that it won't be enough for people who are new to Visual Basic, and it's not necessary for people who are familiar with it. The examples are solid but not outstanding.

Example 5 in Chapter 9, "Introduction to Visual Basic Express and Windows Forms", provides a nice example of a landmine Microsoft has laid in our path: In a Windows application, Console.WriteLine() writes to the Output->Debug window, but Debug.WriteLine() writes to the Immediate window. The example would have been easier to follow if that gem had been explained. But like the rest of the book, there's a lot of useful information in the chapter. I guess my only quibble is that in using "Novice" in the title, the book promises more than it delivers, at least in this area. This isn't suitable for a beginner to Visual Basic.

Like many other books about Visual Basic Express, Beginning SQL Server 2005 Express has a couple of chapters about building web sites using ASP .NET. It seems to me that Microsoft wants Visual Basic Express and SQL Server Express (both of which are free) to be gateway drugs to ASP .NET and IIS. The book repeats the canard that IIS is a free web server for Windows 2000, Windows XP and Windows 2003, but that's not true. IIS is included in Windows XP Professional but not Windows XP Home. In any case, Microsoft would love to get you hooked on IIS.

The other problem with ASP .NET is that so much of the action is behind the curtain. So, any example is going to have a sequence of steps in the web page designer, and perhaps a small amount of code or HTML, followed by magic, followed a web page being generated. I have nothing against magic, but it means that any narrative or explanation of examples is going to jump from "what you do at design time" to "what happens at run time" with a greater or lesser gap in the middle. Here's an example (page 565):
Normally, a False setting for the AutoPostBack property of a server-based control, such as TextBox1, does not let the control operate automatically after you commit a value to it. However, a special setting on a Define Parameters wizard screen causes TextBox1 to return its value to the server immediately after a user presses the Enter key on the keyboard. The Define Parameters wizard screen is one of series that you can pass through when you reconfigure a data source with a wizard.
Dobson actually does a great job of navigating this particular example, in the sense that he makes it clear what incantations will produce the desired effect – submitting a single value to the server for use in a database query(!).

The rest of part two deals with Visual Basic and ADO .NET, starting with a good introduction to the ADO .NET architecture As in the first part of the book, Dobson does a very good job of presenting a great deal of very useful information. ADO .NET includes two different APIs, an untyped API where column names and types can be determined at runtime by querying the database, and a strongly typed API constructed by the Visual Studio IDE at design time. The IDE reads column names and types from the database and builds an XML description it uses to build and type an API specific to each table. Dobson presents the more complicated untyped API first, which I think is the right approach, since it then makes clear what the IDE and runtime libraries are doing under the covers to manage the typed API.

The Visual Basic examples include connecting to both SQL Server and Access, parsing data out of a text file or Excel, handling concurrency errors, and a very thorough walk-through of the usual suspects: creating and deleting tables and inserting, updating and deleting rows, from a single table or multiple tables. The examples are great at making clear how ADO and related parts of .NET work, but they didn't strike me as brilliant code – not necessarily the sort of thing you want to keep to cut and paste into your next project.

In my opinion, Beginning SQL Server 2005 Express is stronger in the area of SQL Server than it is for application development. If, like me, you're comfortable with Visual Basic but new to SQL Server, run to the bookstore – for you, this book is a 9. If you're familiar with SQL Server 2000 administration but looking to start implementing applications in the latest version of Visual Basic, check out the table of contents online. You'll find a lot to like, even if the book doesn't match your needs perfectly."

You can purchase Beginning SQL Server 2005 Express Database Applications from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

92 comments

  1. MDE by Amouth · · Score: 3, Funny

    if it turns out to be anything like the MSDE2000 then it is nothing more than a nightmare waiting to happen.. and no one should write a book about how to use it.

    on the other hand>>

    another slashdot book review with score 8... nothing to see here

    --
    '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    1. Re:MDE by Anonymous Coward · · Score: 2, Interesting

      I've been using MSDE for 5 years on 300 laptops and it works great! No corruption, good performance. Not to mention it is a real database, with triggers, stored procedures, and a really complete SQL implementation. When we selected it, MySQL did not have even the most basic features of a complete SQL implementation. It might now, but MS SQL Express is fast, stable, and free - why switch?

    2. Re:MDE by CastrTroy · · Score: 1

      If you want something with all the features, try PostgreSQL. If you want a reason for choosing MySQL or Postgres, how's about running it on a bunch of different operating systems, or actually getting your software upgraded more often then once every 5 years.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    3. Re:MDE by tcopeland · · Score: 1

      > If you want something with all the features, try PostgreSQL.

      Right on. I'm using it for a Rails/Jabber backend; very solid.

    4. Re:MDE by rob1980 · · Score: 1

      I've been using it for awhile on a Server 2003 box at home - handles pretty nice, and Management Studio Express is a pretty good front end.

    5. Re:MDE by killjoe · · Score: 1

      Firebird did all that and more. It still does. You should have done a tiny little bit of research before deciding your only choices were mysql and MSDE.

      --
      evil is as evil does
    6. Re:MDE by Anonymous Coward · · Score: 0

      actually getting your software upgraded more often then once every 5 years.

      Actually the later two service packs had some decent performance improvements. And they did give away Reporting Services and Notification Services for SQL 2000 for free. So I don't think you can complain about that.

    7. Re:MDE by Imsdal · · Score: 1
      or actually getting your software upgraded more often then once every 5 years.

      Oh, I love this. When the new MS Office release is discussed, everyone is saying each new release is released just to force people to spend money on an upgrade. Some laughers actually suggested that Office97 was better than subsequent releases. For some reason, when MS doesn't upgrade as frequently, that's all wrong too.

      I love the smell of bias in the morning...

    8. Re:MDE by CastrTroy · · Score: 1

      The difference is what MS Charges for the upgrades. You can upgrade your copy of PostGres/MySQL/Openoffice for free. With MS, you pay $500 for an office suite, and don't get any new features for the next 5 years. You're lucky if you get all the bugs fixed. I find it appauling how much MS charges for their software, especially with the low level of support you get. The MS equivalent of the open source alternative, is usually 3x that of the competition, and for paying that extra money, you get less frequent upgrades, slow bug fixes, and little to no actual support.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
  2. Use MySQL instead // Use Postgresql instead by Anonymous Coward · · Score: 1, Funny

    Come on, this is slashdot. Anything Microsoft will get flamed -- let the flame wars begin.

  3. Nah by Mateo_LeFou · · Score: 2, Funny

    Me, I'd rather end SQL Server

    --
    My turnips listen for the soft cry of your love
    1. Re:Nah by celardore · · Score: 0, Troll

      Just DROP it already...

    2. Re:Nah by chrismcdirty · · Score: 0, Troll

      I'm willing to deal with it if they COMMIT to a better product...

      --
      It's like sex, except I'm having it!
    3. Re:Nah by Tuffsnake · · Score: 0

      I know people here aren't M$ fans and SS isn't the best DB ever BUT if you are going to end anything why not start with DBase, or access or Sybase (can't add a NOT NUlL column b/c there is no default value option as last as version 11.9!?!?!).

      SS has it's faults yes (wtf, SS2000 doesn't allow row level locking?!!?!?!?!?) but it certainly isn't the worst by far and it can be a very good option for some people so don't go dismissing it so quickly.

  4. Check it out... by ooh456 · · Score: 0, Flamebait

    I actually plan on migrating all my apps to SQL Server Express when they include all the functionality of the real version and then port it to Linux.

  5. Re:my sequel?? by Anonymous Coward · · Score: 0

    Structured Query Language (SQL), pronounced "sequel", is a language that provides an interface to relational database systems. It was developed by IBM in the 1970s for use in System R. SQL is a de facto standard, as well as an ISO and ANSI standard.

  6. SELECT from... by Tackhead · · Score: 4, Interesting
    SELECT * FROM books WHERE length.title > 142

    I had to re-read that sentence three or four times before I realized that

    Beginning SQL Server 2005 Express Database Applications with Visual Basic Express and Visual Web Developer Express from Novice to Professional
    was indeed the title of the book in question.

    Afterwards, the fact that it consists of two parts, namely

    "Working with SQL Server Express" and
    "Working with Visual Basic Express and Visual Web Developer Express"

    came as little surprise...

    The title is reminiscent of the technique of putting every programming language, OS, and application you've used since third grade into one's resume, just to make sure that HR department gets a "hit" on your resume when they search the internal database for prospects.

    Has the field of technical literature become so saturated that publishers/editors (probably more so than authors) are resorting to spamming their own book titles with buzzwords and acronyms... in order to show up better on Amazon search queries?

    1. Re:SELECT from... by schweini · · Score: 1

      shouldn't that be

      SELECT * FROM books WHERE LENGTH( title ) > 142

      or is that 'dot syntax' somehting i didn't know about?

    2. Re:SELECT from... by pocketstheclown · · Score: 1

      select * from TBL_SARCASTIC where FLAME_BAIT='Y' and TYPE_RESPONSE='NICE TRY'

  7. Can it turn SQL and Visual Basic novice into pro? by digitaldc · · Score: 4, Insightful

    The book asks to be judged against a high standard: Can it turn a SQL and Visual Basic novice into a professional?

    FTA:
    I guess my only quibble is that in using "Novice" in the title, the book promises more than it delivers, at least in this area. This isn't suitable for a beginner to Visual Basic.


    The answer is NO. Please move along.

    --
    He who knows best knows how little he knows. - Thomas Jefferson
  8. MDE-Book'em Dano. by Anonymous Coward · · Score: 1, Funny

    "if it turns out to be anything like the MSDE2000 then it is nothing more than a nightmare waiting to happen.. and no one should write a book about how to use it."

    That's the spirit. Up next the latest Linux distro is like the very first Slackware. Now aren't you glad you didn't have to sit through my review?

  9. Express Yourself by Doc+Ruby · · Score: 1

    How "express" could it be if it requires a book in two parts to learn how to do it?

    --

    --
    make install -not war

    1. Re:Express Yourself by mzwaterski · · Score: 1
      How "express" could it be if it requires a book in two parts to learn how to do it?

      About as "express" and an express bus that takes over an hour to get from point a to point b. It is called an express bus because it doesn't make every stop along the way. It is called SQL express because it doesn't include the same features and licensing as the full version. For a similar example, see Outlook Express vs. Outlook.

  10. Interesting by edmicman · · Score: 3, Interesting

    This comes as I was actually planning on (tonight maybe?) putting together a small database app in C# for my fiancee. I want to keep up / improve my .NET 2005 skills, but my experience is primarily on client/server setups where the SQL Server 2000 is on a dedicated server. I was aiming to use SQL 2005 Express for the database part of the app. Does SQL Server 2005 Express give you sort of a glorified Access database? I want a database tied to the application, but I don't want to have to install the application AND a database instance - does the Express edition handle including the database with the app? I'm hoping maybe it creates the database file, and then just includes that in the application directory, and accesses it via some sort of database file connection?

    Either way, I doubt I'll look to getting this book - I feel pretty confident in SQL 2000, and am hoping there's enough online docs to get me through a basic setup. Plus, once the db stuff is setup, I'll just need to focus on the application itself, which it doesn't sound like this book really covers.

    1. Re:Interesting by AaronBrethorst · · Score: 5, Informative

      Howdy - you should take a look at the VS 2005 setup bootstrapper. It'll simplify the process of getting SQL Server Express (SSE) installed onto a deployment machine. You will need to install an instance of SSE onto the deployment machine, though. SSE is a walking, talking, gum-chewing SQL database. There's a pretty useful article over on MSDN Magazine that will walk you through the basics.

      --
      No, but I used to work for Microsoft.
    2. Re:Interesting by edmicman · · Score: 1

      Whoa, that sounds very cool. Thanks much!

    3. Re:Interesting by adolfojp · · Score: 1

      SQL Server Express IS a dedicated database server. You need to run it as a service. If you want to bundle a database to your app try to use an Access or sqlite file. http://www.sqlite.org/

    4. Re:Interesting by TheNetAvenger · · Score: 1

      SQL Server Express IS a dedicated database server. You need to run it as a service. If you want to bundle a database to your app try to use an Access or sqlite file

      You do realize that just because it runs as a 'service' has nothing to do with your assumptions that it cannot be deployed on a client machine.

      Right?

      For example, MYSQL also runs as a service, and can be deployed on a client machine also.

    5. Re:Interesting by LurkerXXX · · Score: 1

      Ah, no. What he wants is either Microsoft MSDE or SQL 2005 express. There's no need to use something as limited/low-end as Access. MSDE is ment to be used either embedded in your app, or as a lightweight stand-alone server.

    6. Re:Interesting by adolfojp · · Score: 1
      I want a database tied to the application, but I don't want to have to install the application AND a database instance"

      The guy was very specific in specifying that he does not want to install a database instance on the client. Therefore, a database server like MySQL is not a suitable solution. Not because it cannot be installed in the client but because he does not want to install a database in the client.
    7. Re:Interesting by adolfojp · · Score: 1
      Could you please provide a link that explains how to use an MSDE file without installing the MSDE server? The link that you provided only reinforced my belief that you have to install MSDE. The following statement is what I replied to:
      I want a database tied to the application, but I don't want to have to install the application AND a database instance
      I don't know how to use an MSDE file without installing a MSDE server instance. Having that knowledge would have been really usefull for my last app that runs directly from a CD.
    8. Re:Interesting by Anonymous Coward · · Score: 0

      If you don't want to install SQL Server on your client computer you might be able to get away with simply serializing/deserializing a DataTable/DataSet (if you don't have too much data, of course). I'm not sure, but I *THINK* you can run simplified SQL queries against DataTables/DataSets (I could be wrong). But if you want a real database you are just going to have to install SQL Server (or equivalent).

      SQL Server Express is (as far as I know) virtually identical to SQL Server; Microsoft has just simplified things and removed advanced options, so SQL Server Express is actually a (stripped-down) full-blown database server and not some drop-in Access replacement.

    9. Re:Interesting by jbplou · · Score: 1

      SQL Express is just a weakend version of SQL Server, it will run an app like your saying without trouble. But it is a network database not a file type like Access. Also you can't include UI in it, you need a different front end. Developing for it is just like developing for any other SQL Server Edition with a few weaknesses like only single processor and 1GB of RAM max.

    10. Re:Interesting by edmicman · · Score: 1

      Thanks all for the good info. Basically, I want something that can be installed as a package of sorts, so I wouldn't have to separately and manually install on the client the app, plus the SQL Express database. It sounds like the bootstrap loader thing would handle that. I *thought* the SQL Express stuff was meant to act as a portable database of sorts where you didn't necessarily want to install SQL Server to a central server and have the client software connect; instead, it was packaged with the app itself. I'll do some more reading and check out those links. I've also batted around the idea of just using flat files (XML maybe?) to store the data, too. Guess we'll see!

    11. Re:Interesting by EsJay · · Score: 1
  11. Re:my sequel?? by Anonymous Coward · · Score: 0

    Thank you for your little bit of history, but I think the parent was referring to the pronunciation of MySQL, not SQL in general. I believe Wikipedia might be able to give some insight on how to pronounce it:

    http://en.wikipedia.org/wiki/Mysql

    Also from other sites I've read, I think the norm is My-S-Q-L.

  12. All you need is......... by kkelly · · Score: 3, Informative

    Microsoft developer network at htt:\\msdn.microsoft.com IMHO its probably more information than most developers might need to accomplish a given task or learn about 2k5 MS technology. Don't sleep, msdn has some excellent content and the coverage of the new SQL 2005 implementation is fairly extensive. Most books I buy collect dust after just a few weeks.......

    --
    K
    1. Re:All you need is......... by Anonymous Coward · · Score: 0

      I think you'll find it's at http://msdn2.microsoft.com/

  13. Save $14.80! by Anonymous Coward · · Score: 1, Informative

    Save yourself $14.80 by buying the book here: Beginning SQL Server 2005 Express. And if you use the "secret" A9.com discount, you can save an extra 1.57%!

  14. Re:M[S]DE by MrBugSentry · · Score: 1

    Any specifics on the nightmare? We use MSDE all over the place and it works great, provided your sysadmins aren't the sort who install server grade database engines with network access enabled and root passwords blank.

  15. Oracle 10g Express Edition w/ Application Express by Anonymous Coward · · Score: 0

    If you are keen on developing database-centric Web applications, you may want to try the free Oracle 10g Express Edition with Application Express. Application Express (formerly known as HTML DB) is a RAD platform tightly integrated with the database.

    http://www.oracle.com/technology/products/database /xe/index.html

  16. my two cents by deuterium · · Score: 5, Informative

    The other problem with ASP .NET is that so much of the action is behind the curtain

    Well, from what I gather, Ruby on Rails hides database access pretty thoroughly as well. WebDev systems exist for the purpose of that very concept... making standard operations into black boxes.
    I've been using the new SQL Express in a project over the last several months. It's quite nice for a free, distributable DB, and the Management Studio download has been much nicer than the old 2000 version (or the Postgres Admin tool I used before this). A book like this would have been handy, as there aren't a lot of comprehensive resources on the web for Express.

    I feel a 400 post platform diatribe coming up...

    1. Re:my two cents by MrBugSentry · · Score: 1

      If you are into pain, or want to do your own custom webcontrols, you easily override the methods in ASP.NET controls to do it all manually. Sharepoint developers know all about this fun.

    2. Re:my two cents by jwjcmw · · Score: 1

      "and the Management Studio download has been much nicer than the old 2000 version"

      Have you really found it to be better? Are you comparing it with Enterprise Manager? I've found Management Studio (at least the full version of it, not the express version) to be very buggy and slow. Operations that would take a couple of seconds in EM take upwards of a minute in Management Studio. It has also been crashing pretty regularly on me. I see potential in it, but I feel like I've been handed a pre 1.0 Beta tool, when I had been working with a stable 8.0 version.

    3. Re:my two cents by deuterium · · Score: 1

      The ultimate functionality isn't a whole lot different, but the interface and intuitiveness have been improved. It took me a lot less time to create the structures I needed in Management Studio than it did in Enterprise. The tools for creating stored procedures seemed a lot nicer, in particular. I'd used the old Enterprise Manager for a web app I'd done a couple years ago (still use it for that server). I haven't had any glitches with Mangement Studio yet, but perhaps my database isn't of the same scope as yours. I'm using it to store large datasets for a scientific simulation, so the sim app is the usually the only connection being made to it (not hundreds of users). I've also started work on a large ASP.NET app that uses 2005 Standard, though, so maybe I'll run into any bugs under load.
      Of all the available options for my sim-app needs - a database to interface with a C# app that will be sold as a workstation - it made the most sense. I had been using Postgres, which wasn't a bad db at all, but the PGAdmin tool was buggy in comparison (table changes would only refresh at random intervals). The only real options for me were Postgres and... nothing until SQL Express. MySQL costs $200 per box to distribute commercially on workstations. Aside from the 4GB limit on individual database sizes, SQL Server Express is really a valuable gimme from someone like Microsoft. Maybe they're just giving away free crack to get people hooked, but I'll take advantage of it when useful.

    4. Re:my two cents by a.d.trick · · Score: 1

      Yes, but a platform should work for you, not against you. ASP.NET was an attempt to make web applications look like desktop applications. It's failure is that it succeded.

      And don't get me started on doPostback() or whatever that inane 'lets use links for forms and break every single fricking thing about HTTP!!"

    5. Re:my two cents by XMyth · · Score: 1

      (me too!!!)

      (begin rant)

      Tell me a-freaking-bout it! And where the hell did freaking exporting your database scripts to individual files (one per object!) go??? Thanks a hell of a freaking lot Microsoft! Now I can't even connect to SQL2005 databases with Enterprise Manager anymore! At least I can still use Query Analyzer though...

      Management Studio is the one thing keeping me from moving my dev environment over to SQL2k5.

      The weird thing is, a knee-jerk reaction might say that it's because they wrote it in WinForms/Managed code that it is so crash prone and slow....but VS.NET 2k5 is a MUCH more complex app and it performs like a champ.

      Another thing! Where the HELL does Management STudio get off eating up 80megs when I JUST OPEN IT!!!

      God that thing is a monstrosity.

      Microsoft better be glad SQL2k5 itself (the engine) has so many kick-ass improvements...cause otherwise I'd skip this version entirely.

  17. Prayer by molarmass192 · · Score: 1

    Can it turn SQL and Visual Basic novice into pro?

    Dear god I hope not. Visual Basic Professional is the single biggest contradiction in terms I've ever seen.

    --

    Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  18. Re:my sequel?? by general_re · · Score: 1
    Oh, and Linux has a soft I people.

    No, it has a short "I" sound. Vowels have short ("I" as in "chin") and long ("I" as in "ice") sounds. Consonants such as "C" and "G" have soft ("city", "giraffe") and hard ("cup", "gap") sounds. Since we're being pedantic and all ;)

    --
    ABSURDITY, n.: A statement or belief manifestly inconsistent with one's own opinion.
  19. MDE-Textbooks by Anonymous Coward · · Score: 0

    "...or actually getting your software upgraded more often then once every 5 years."

    Is that anything like a textbook upgrade?

    1. Re:MDE-Textbooks by Amouth · · Score: 1

      no that would be more like every 6 months to flease more money out of people for no good reason and killing trees..

      wait.. now i see the forest..

      yea your right it is like a textbook upgrade

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  20. Great, but who needs it? by LibertineR · · Score: 0, Flamebait
    Its getting to the point where you cant walk out your front door in the morning without tripping over another book on SQL 2005, .NET or anything else about Microsoft products. I love the fact that there is an answer either on MSDN or elsewhere that I can find in minutes, and its cool that there are books out there, but are we reaching the saturation point on these books? Didnt Microsoft provide free EXPRESS versions of all the .NET 2005 stuff already?

    IMHO, the Microsoft document dump is what really keeps them afloat these days, as developers are not going to find this kind of support anywhere else, and while its cool, I think it getting over done to the point where is is hard to differentiate between somebody with SOME knowledge who wants to sell a book, and those versions that truly cause large numbers of admins and developers to become better at what they do.

    I mean, who didnt (and maybe still does) have a red wall lined with WROX trash that didnt really cause a lot of learning to occur, but made people feel smart just for having all those dead trees in their bookcases?

    We dont need more books, we need better books with perfect grammar and code samples that work the FIRST TIME. Nothing is more frustrating when you are trying to learn something than to have to constantly reference the errors file from the web site, or debug code from someone who is getting paid to teach YOU something.

    But then, maybe thats just me?

    1. Re:Great, but who needs it? by TheRealMindChild · · Score: 1

      Um... what other company is developing development tools like microsoft? Surely not borland...

      --

      "When life gives you lemons, don't make lemonade. Make life take the lemons back!" -- Cave Johnson
  21. ASP.NET - The cobol of our generation? by Anonymous Coward · · Score: 0

    "The other problem with ASP .NET is that so much of the action is behind the curtain."

    They've alienated their Basic programmer base by forcing them to relearn the language.. AGAIN. None of the old asp pages can be copied and pasted into aspx. Is it really necessary to create registry keys for everything, such as form controls? This is why they're giving Visual Basic Express out for free.

    Microsoft is forcing all electronic commerce to involve their click and drag methodology. Sure, it's got bells and whistles, but try to upgrade, migrate, or automate that.

    1. Re:ASP.NET - The cobol of our generation? by TheNetAvenger · · Score: 2, Informative

      They've alienated their Basic programmer base by forcing them to relearn the language.. AGAIN. None of the old asp pages can be copied and pasted into aspx. Is it really necessary to create registry keys for everything, such as form controls? This is why they're giving Visual Basic Express out for free.

      Ok, you must not be a serious VB Programmer. The objection to VB6 to VB.NET was not learning a 'new language' as the changes were minimal. The objection was the Runtime distribution required for VB.NET was .NET instead of being distributing the VB 6 Runtimes. Also VB had finally moved created 'independant' applications without the need for the VB Runtime, and some developers really wanted that, and not to be tied back to a Runtime (.NET).

      The part the VB Developers tend to forget or the reason it doesn't matter anymore is that 99% of the Windows installation ALREADY have .NET installed via MS Updates, SP2, etc. So the Runtime distribution of .NET is no longer the factor it was. With Vista this disappears as the .NET framework (runtime) is included in the OS on install.

      So the changes were not 'vast' to the language, it was more about the runtime requirements and FORCING VB developers to use Managed Code.

      The trick here is this. VB was NEVER a performance language, you couldn't easily drop to assembly level programing anyhow. And it was virtually 'managed code' all along, so this was not a major change or loss of performance, just a change in the dependant runtime/sandbox to .NET.

      None of the old asp pages can be copied and pasted into aspx

      This is NOT 100% true. Sure there 'can' be minor syntax changes, but there are ALSO pages that can run in ASP.NET and no programming changes are required to the native ASP page. So you are missing the differences here, there are many times ASP Pages can be put into an ASP.NET Application without modification.

      Is it really necessary to create registry keys for everything, such as form controls?

      Um, no it isn't who told you this was how Windows Program were written? The registry is for only the storage of centralized information, and has nothing to do with form control NOR should EVER be used to store constructs of your applications such as form controls. That is what is contained in the binaries of your application. PERIOD.

    2. Re:ASP.NET - The cobol of our generation? by jbplou · · Score: 1

      This is NOT 100% true. Sure there 'can' be minor syntax changes, but there are ALSO pages that can run in ASP.NET and no programming changes are required to the native ASP page. So you are missing the differences here, there are many times ASP Pages can be put into an ASP.NET Application without modification.
      Who ever you are replying to was wrong about most things but I haven't seen a page that does anything useful that can be resaved from .asp to .aspx without editing. Just about the only things you can do with the same syntax is response and request type operations.

    3. Re:ASP.NET - The cobol of our generation? by Anonymous Coward · · Score: 0

      Maybe you can explain the following then:

      Why does the following asp code not work in aspx? This is the fundamental core of a SQL Server database app using asp.

      strSQL = "SELECT * FROM myTable"
      Set Conn = Server.CreateObject("ADODB.Connection")
      Conn.Open Application("myConnectionString")
      Set rs = Server.CreateObject("ADODB.Recordset")
      rs.Open strSQL, Conn
      Do While Not rs.EOF
          response.write(rs("myField") & "
      ")
          rs.movenext
      Loop
      rs.close
      Conn.close

      Why am I forced to use this when using aspx? This is not a minor syntax change.

      Dim Conn as SQLConnection = New SQLConnection("Server=localhost;.. rest of Connection string here")
      Dim catCMD As sqlCommand = Conn.CreateCommand
      catCMD.CommandText = "SELECT Login FROM myTable"
      Conn.Open()
      Dim myReader As SQLDataReader = catCMD.ExecuteReader()
      Do While myReader.Read()
          myData = myReader.GetString(0)
          response.write(myData & "
      ")
      Loop
      myReader.Close()
      Conn.Close()

      Try copying and pasting any vb code into an aspx file and it will break. You have to whittle it down to little pieces, then insert into the control events of the associated vb file when creating aspx controls.

      When adding a non-standard control such as Report Viewer (SQL Reporting) I have to create a blank aspx page with that control or else all my other aspx pages will not work. Why is that?

      Why do aspx pages have to be compiled with the Build feature in Visual Studio in order to work properly? How would I get an aspx page to function without Visual Studio .NET?

      Why is it so difficult to get an aspx page to include a server side js file?
      All you had to do in asp was script language=jscript runat=Server src=myScript.js

      Why does IIS not have any support for Server Side languages other than js, vb, and cs?

      What's with the lineage ids for each asp file within _vti_cnf?

      You know Microsoft is steering people toward aspx, and will probably drop support for asp in 2008.

    4. Re:ASP.NET - The cobol of our generation? by TheNetAvenger · · Score: 2, Informative

      Truly no offense, but if these are really your questions, there is a lot more than syntax differences between ASP and ASP.NET that you do not get.

      Little things like VB is not ASP.NET or ASP.

      Stricter Typing is an option of ASP.NET, but NOT required. Check your Server Development environment, but don't assume it is broken or significantly different.

      ASP has also changed over the years and based on Server configuration commands like:
      Form.Request("Name")

      will break in newer version and you have to change the statement to just:

      Request("Name")

      This does not mean anything other than an evolving set of technologies, and the server configuration environment of which they are ran in.

      Oh one more thing...
      Why does IIS not have any support for Server Side languages other than js, vb, and cs

      Who said it ONLY supports VB, C#, and JavaScript? IIS is VERY extensible and can handle anything .NET uses, so this adds a whole new range and level of languages. In addition to ISAPI and other plug in methods for handling pages, which is how a lot of people work independantly in everything from PHP to Python. (Python also can be accessed directly from the .NET constructs as well, just you can Pascal and MANY other languages).

      So whatever teacher told you IIS only supported VB, JS, or CS where either stupid or lying to you.

      IIS itself didn't even 'inherently' support any native language, initial ASP and VB and JavaScript support was via ISAPI modules, just like PHP is handled today.

      Truly spend some time looking this stuff up, don't even take my word for ANYTHING. Especially if you are limiting yourself to VB or C# because you think it is the ONLY support language IIS supports.

      Also anyone reading this post, if you are in an IIS development situation and don't understand the extensibility offered by IIS, take time to find out for yourself, you are NOT locked into ANY language.

      VB, JS, and CS are the examples MS uses, but that is because those are their bread and butter, not because that is all IIS knows. ;)

    5. Re:ASP.NET - The cobol of our generation? by Anonymous Coward · · Score: 0



      You really don't get it at all, do you? Although, please, by all means, keep up the good work! I make lots of money coming in and fixing the spaghetti that gets written by people who have *no* business calling themselves 'developers'.

    6. Re:ASP.NET - The cobol of our generation? by errxn · · Score: 1

      He had me at "Why do aspx pages have to be compiled with the Build feature in Visual Studio in order to work properly? How would I get an aspx page to function without Visual Studio .NET?"

      Simply stunning.

      --
      In Soviet Russia, Chuck Norris will still kick your ass.
    7. Re:ASP.NET - The cobol of our generation? by TheNetAvenger · · Score: 1

      He had me at "Why do aspx pages have to be compiled with the Build feature in Visual Studio in order to work properly? How would I get an aspx page to function without Visual Studio .NET?"

      I didn't even try to go there in my response. It was such a head shaker I didn't know what to do with it except go, uh? Or maybe explain that aspx files are text like asp or html and Visual Studio is not required to write text files.

      I find stuff like this in posts that are borderline 'scary', especailly when people demonstrate they are using the technologies or have used them, and yet know so little about them in use and concept.

      Take Care...

  22. Re:my sequel?? by Anonymous Coward · · Score: 0

    Linus == Linux

    It all depend how you say Linus. If Finnish is your native tongue, they are both said with a "short 'I'". If however, your native tongue is English, you would say them both with a long "I".

    The Peanuts character's name is Linus with a long "I" like lice. Linux...

  23. Re:my sequel?? by mooingyak · · Score: 1

    Kind of OT, but from their site:

    The official way to pronounce "MySQL" is "My Ess Que Ell" (not "my sequel"), but we don't mind if you pronounce it as "my sequel" or in some other localized way.

    (Near the bottom)

    --
    William of Ockham had no beard. The most likely explanation is that it was chewed off by squirrels every morning.
  24. Re:M[S]DE by Amouth · · Score: 1

    Personaly i have seen way to many software vendors that use it as their back end when distrbuting software and do not inform people that they need to install patchs for the MSDE or they don't bother to rereleast the patchs them selfs..

    doesn't any one remember slammer? and the fact that most of the infections were out there (and still out there) are MSDE installs that people don't know they have

    --
    '...if only "Jumping to a Conclusion" was an event in the Olympics.'
  25. Pronounced "My Squeal" ( as in "A pig squeals!") by Anonymous Coward · · Score: 0

    It's easier to say and remember. And MySQL is a pig anyway, so...

  26. VB.NET Help Sux! by Nom+du+Keyboard · · Score: 1, Troll
    I don't know about anyone else (see MSDE comments above) but the on-line help with VB.NET is virtually unreadable. Especially compared to the relative straight-forward and literate VB6 MSDN help files. I don't know who improved for .Net, but Microsoft should fire them for sabotage of the entire .NET initiative!

    Makes nearly any book an improvement!

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
  27. re: SELECT * FROM books WHERE length.title 142 by john.mull · · Score: 1

    erm... when did SQL Server get object oriented?

    T-SQL would accept is thusly:

    SELECT * FROM books WHERE LEN(title) > 142

    Besides, oo would dictate is as title.length

    <SQLNazi="Yes" />

    --
    Isaiah 43:19 (NCV)
    Look at the new thing I am going to do. It is already happening. Don't you see it?
  28. Beginning SQL Server 2005 Express Database Ap by Anonymous Coward · · Score: 0

    "Beginning SQL Server 2005 Express Database Applications with Visual Basic Express and Visual Web Developer Express from Novice to Professional"

    Is the name of the application "Beginning SQL Server" ? I've heard of my SQL and ms sql and postgresql but not beggining sql.....

  29. CREATE VIEW, DROP jaw by Anonymous Coward · · Score: 0
  30. as far as misleading titles go.... by LuxFX · · Score: 1

    "so the title, as long as it is, isn't all that accurate"

    It's a far sight better than one of the most recent computer books that I bought. Wrox Press' "ASP.NET 1.1 with Visual C# .NET 2003"

    Now, I happened to have owned a copy of Visual C# .NET 2003, so I know that it is in fact referring to a piece of software -- as opposed to simply saying "Visual C#" which would be referring to a programming language. So when I started reading this book and realized that the information in the book was only about the language Visual C#, using a no-longer-available free Microsoft tool called Web Matrix and NOT Visual C# .NET 2003, I was a little pissed!

    I emailed the publisher and all they could tell me was "It mentions Web Matrix in a bullet point on the back cover, so we think that's clear enough."

    Sorry, buddy, but you mention .NET 2003 IN THE FREAKIN' TITLE!

    --
    Punctanym: alternate spelling of words using punctuation or numerals in place of some or all of its letters; see 'leet'
    1. Re:as far as misleading titles go.... by Anonymous Coward · · Score: 0

      of course it has .NET in the title, they then can sell the book to people, just, like, you!

  31. Save your money. by Orion+Blastar · · Score: 1

    Visual BASIC.NET and ASP.NET are free at Wikibooks. No SQL Server Express version yet, but there is a Wikibook on SQL which novices can read. I am sure one can read it and adapt it to SQL Server.

    --
    Remember, Slashdot does not have a -1 disagree moderation, and no, troll, flamebait, and overrated are not substitutes.
  32. Web Matrix IS available by Anonymous Coward · · Score: 0
    1. Re:Web Matrix IS available by Anonymous Coward · · Score: 0

      Wake up Neo, the Web Matrix has you!

  33. Starting SQL Server 2005 Express by Anonymous Coward · · Score: 2, Funny

    This is an exerpt from my competing book:

    "Welcome to SQL Server 2005 Express. You most likely installed this product as part of Visual Studio 2005. Your next step is to freak out and get a version that costs money, because the express edition lacks the most basic administration tool that you're used to using: the query analyzer. Yes, that's right you have no tool to run arbitrary SQL. And since you're a developer, you'll probably be trying to load a database backup that somebody else gave you as your first step. You can either create an empty database, then run sql against that to create a new database, OR go here and download SQL Server Management Studio Express to make useful a product that is otherwise an aggrandized version of Access."

    You can also get to the download from the SQL Server Express Homepage:
    http://www.microsoft.com/sql/editions/express/defa ult.mspx

  34. Would you want to begin in Visual Basic? by Anonymous Coward · · Score: 1, Interesting

    I'd recommend if you're going to work on Windows Dot-Net choose C# not Visual Basic. Visual Basic takes every well known programming concept that's been around for years and gives it a different name. You'd have difficulty communicating with someone trained in object orientated design or UML or any C-like language like C++ or Java. I wonder if this is to make Visual Basic like another Microsoft Walled Garden with high cost of migration.

    On the other hand, if you're coming from Visual Basic 6 use C# anyway. Best have the big change in syntax so you're not tempted to fall back to old ideas. Dot-Net is conceptually very different to Visual Basic. I've seen C programmers write Java applications in one class with lots of static methods. I've seen VB programmers write Dot-Net that looks like spaghetti after a few hours with a champion boy-scout knotting expert.

    If you're not stuck on Microsoft, consider something like Java or Python. As hinted in the review Dot-Net has a lot of "magic" and that can make things quite hard when it comes to working out why something isn't working. For anything non-trivial the Visual Studio designer tools lose their benefit, and the result can be a pain to maintain.

    1. Re:Would you want to begin in Visual Basic? by Tim+C · · Score: 1

      My personal, poorly-informed opinion is that VB.NET exists for two reasons only:

      1) Their corporate customers would have crucified them for dropping VB altogether
      2) As a stepping stone to a grown-up language like C# or Managed C++

      When the main alternatives were C and C++, I could see a use for a language like VB. Now that C# is available (assuming you want to use .NET), I really don't see the point of it.

      As hinted in the review Dot-Net has a lot of "magic" and that can make things quite hard when it comes to working out why something isn't working. For anything non-trivial the Visual Studio designer tools lose their benefit, and the result can be a pain to maintain.

      So don't use the designer in those situations. Nothing prevents you from writing .NET applications the old fashioned way - in fact, the SDK includes command line compilers, so you don't really need VS.NET at all. There's also a port of ant to .NET (called nant), so all you really need is that, a text editor and the SDK and you're good to go.

      Even using the designers you can always get at all the code; it's collapsed by default, but there's nothing stopping you from expanding it and reading through it if you want to understand it (in fact, I'd recommend that you do, for precisely the reason you gave - when things get tricky, the designer gets out of its depth, as do all such tools at some point).

  35. Please tell us which books are which by RecycledElectrons · · Score: 1

    When I see the word "beginning" I think of the WROX press (red cover) books, but it seems all the "beginning" books reviews on /. are the yellow-and-black cover ones.

    Can you please mention the publisher in future titles?

    Also, are you getting a payoff from these guys? Do you write for them?

    Andy Out!

  36. Should I care? by Anonymous Coward · · Score: 0

    This is news for nerds?. Whish I gave a fuck

  37. ASP.NET and Rails "Behind the Curtain" by justindz · · Score: 1

    I'm a product manager for a suite of web applications. Personally, I'm a Ruby on Rails guy. Professionally, all of my developers are Visual Studio people--they're moving to ASP.NET from ISAPI. I'll tell you one key difference with ASP.NET vs. Ruby on Rails. It follows the principle of most surprise.

    ASP.NET looks like someone took a look at web dev and said, "how can we make this less web-like" whereas Ruby on Rails looks at the web and says, "how can we make this cleaner without changing it." Ruby on Rails spits out predictable, high quality markup. ASP.NET appends dynamically generated values to your HTML id attributes, significantly complicating otherwise straightforward client-side scripting.

    Would you rather peek behind the curtain and see an attractive woman undressing herself or a sweaty, naked fat guy picking his nose?

    No offense to sweaty, naked fat guys with an abundance of boogies.

    --
    The only thing necessary for the triumph of evil is for good men to do nothing.
  38. Re:my sequel?? by pvera · · Score: 1

    "sequel" is old skool but accurate. The only reason we call it sql and not sequel (Structured English QUEry Language) is because of a trademark (http://en.wikipedia.org/wiki/Sql) issue.

    --
    Pedro
    ----
    The Insomniac Coder
  39. Flavors of the millenium by threedognit3 · · Score: 0

    Datebases...

    Legacy will pick DB2.

    Nouvre rich will pick Oracle.

    Those who rely on Windows will chose SQL2005.

    Who will win the windows rich environment?

  40. Re:my sequel?? by sethadam1 · · Score: 1

    Um, pronounced with local dialect,

    Linus = Lee Noose

    Linux = Linn Ucks

    NEITHER one of them uses a long i (such as in ice), which is how both are often pronounced.

    Not even close to "=="

  41. Buyer beware... by duffer_01 · · Score: 1

    SQL Server Express IMO is really not a database that any serious company should be looking at. If you really need a free database then like most people on this site would agree, MySQL is a good alternative.

    Now we all know that SSE has upper limits to it and the obvious reason MS would do this is to upsell you to the full SQL Server. Most people will logically think that those limits are fine based on their application. I really don't think that is the problem with SSE. The real problem is that MS constantly changes what you can and can not do with SSE from version to version. For example, with MSDE (the previous version of SSE), you were able to replicate to a central MSDE database. Now with SSE, you are no longer able to do that. You have to replicate to an expensive SQL Server database (and purchase a Client Access License). There are a number of other fundamental changes that MS made to SSE from the previous version that could have a huge impact on user applications.

    My fear with using SSE would not be the upper limits but what MS will do with the next version that would limit my application or require me to upgrade to a more expensive database.

    As a good friend said to me once "Free is not cheap enough".

    Buyer Beware!!!

  42. Re:my sequel?? by Anonymous Coward · · Score: 0

    That's because the people who make MySQL are idiots. If they can't correctly pronounce the name of the language used to interact with their software, how can we expect them to even know what their software is supposed to do?

  43. Metamods: Parent not a troll! by pla · · Score: 1

    I don't know about anyone else (see MSDE comments above) but the on-line help with VB.NET is virtually unreadable.

    Whatever asshat gave this a troll-mod has never used both development environments. No lie - .NET's sucks hard. I don't know if I'd call VS6's help all that wonderful, but it at least made finding what you want relatively straightforward.


    My workplace has just moved to 2005, so ask this again in a year... But at least for now, the parent describes reality.


    Of course, I have NO idea what this has to do with SQL Deskto... Sorry, they called it "Express" this time around. And on that topic, you only need to know one thing - How to disable the MSSQL service. No joke - Desktop users should NOT have an SQL server running. In keeping with standard Microsoft fare, it takes a high-end machine and makes it run like a dog with three legs.