Results 1 to 7 of 7

Thread: SQL Server

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2004
    Location
    Granby, Qc, Canada
    Posts
    602

    SQL Server

    I'm new to SQL Server and I have some questions about it.

    First of all, I'm usually used MS Access DB.

    The first question may sound studio but does the name SQL Server means it needs to be installed on a server ?

    With MS Access, I could create small db and put it in the application folder but can I do this with SQL Server or for this I should continue using Access ?

  2. #2
    Addicted Member
    Join Date
    Feb 2007
    Posts
    148

    Re: SQL Server

    From my opinion use Access databases for computer only applications
    if you want to do "computer - internet" use SQL

    BTW: yes i think it need to be installed on the server

    -k3pos

  3. #3
    Fanatic Member kaffenils's Avatar
    Join Date
    Apr 2004
    Location
    Norway
    Posts
    946

    Re: SQL Server

    SQL Server 2000 must run as a service. With SQL Server 2005 you can access the database file directly in the connection string, but I don't know how performance, multiuser and functionality will be compared to running it as a service.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: SQL Server

    SQL Server is designed to be run on a Server, but the free versions (MSDE [2000], and SQL Server 2005 Express Edition) can be installed on desktop OS's too.

    The installation of the database is slightly more awkward than with Access databases, but you gain in other areas such as security, reliability (no need for a regular Compact & Repair like with Access DB's), and much better handling of multiple users.

    I haven't tested thoroughly, but there doesn't seem to be an obvious speed difference between Access and SQL Server 2005 Express when using them from VB.

  5. #5
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Server

    That speed difference could be obvious in very complicated queies if you use stored procedures insead of inline SQL to gather the data. The stored access paths when using the stored procedures could get you some speed gains.
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  6. #6
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: SQL Server

    Quote Originally Posted by kaffenils
    SQL Server 2000 must run as a service. With SQL Server 2005 you can access the database file directly in the connection string, but I don't know how performance, multiuser and functionality will be compared to running it as a service.
    It still runs as a service when you open it in the connection string - SQLSERVER.EXE still runs and listens on it's ports as if the DB was permanently attached.

    I've not fooled with it but I'm guessing you can several users connect to the DB even if they "connect/attach" in the connection string.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  7. #7
    Fanatic Member kaffenils's Avatar
    Join Date
    Apr 2004
    Location
    Norway
    Posts
    946

    Re: SQL Server

    Quote Originally Posted by szlamany
    It still runs as a service when you open it in the connection string - SQLSERVER.EXE still runs and listens on it's ports as if the DB was permanently attached.

    I've not fooled with it but I'm guessing you can several users connect to the DB even if they "connect/attach" in the connection string.
    I read the documentation, and you are right, it still connects to the SQL Server Express service.

    Thanks for correcting my mistake

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width