Results 1 to 10 of 10

Thread: SQL Coding

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    Las Vegas, NV
    Posts
    301

    SQL Coding

    I'm totally confused by SQL at this point. I downloaded the Free one offered on MSDN, so now, what do I do?

    Do I copy and paste that code?

    I'm very lost. Personally, this is the most difficult thing I've encountered.

    Does that SQL download turn my computer into the server?

    Can someone walk me through what to do to:

    a) get my database to update
    b) get my software to update automatically

    I have no idea where to even begin as far as coding is concerned.

    also, does the SQL programming have to be in a different form or can it be in my main form?

  2. #2
    Fanatic Member
    Join Date
    Jan 2006
    Posts
    910

    Re: SQL Coding

    I think you are a bit confused my friend. SQL coding is usually used to access/modify a database of some sort. Did you download SQL Server Express? If so, this is so you can create a database to store the information.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    Las Vegas, NV
    Posts
    301

    Re: SQL Coding

    Quote Originally Posted by jre1229
    I think you are a bit confused my friend. SQL coding is usually used to access/modify a database of some sort. Did you download SQL Server Express? If so, this is so you can create a database to store the information.
    Yes, I did that, now I'm trying to find it on my computer.

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

    Re: SQL Coding

    You also need to download Management Studio - for a link see the last post in the SQL Server 2005 sticky thread in the Database forum.

  5. #5
    Hyperactive Member r0k3t's Avatar
    Join Date
    Dec 2005
    Location
    Cleveland
    Posts
    361

    Re: SQL Coding

    You might wanna check this out...

    http://msdn.microsoft.com/vstudio/ex...g/default.aspx

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

    Re: SQL Coding

    conflix - maybe some "top-level" discussion about this will help.

    First - you selected MS SQL SERVER - that's a good thing. It's a true client/server database. By this I mean there is an EXECUTABLE that will run on your workstation now called SQLSERVER.EXE - you can find it in TASKMGR. It sits there listening for "SQL" statements on certain ports and then responds to them. Having a single EXECUTABLE running to handle data requests means it can be solely responsible for sharing and locking - this is a good thing.

    Other SQL-like DB's don't run in a true client/server fashion. For instance - ACCESS does not have an EXECUTABLE running on the machine to serve the data requests. Instead each client really talks to the database individually and sharing/locking is handled in a different way.

    Now - as Si mentioned - you need a GUI to interact with MS SQL - there is a free version of MANAGEMENT STUDIO available - that's a good start. Basically this GUI will allow you to create tables and other objecst in the DB - load data for testing - stuff like that.

    But in the long run you need to learn the SQL language. This is a language that allows you to type "english like" statements and manipulate the database. Things like "SELECT * FROM SOMETABLE WHERE SOMECOL=123" or "UPDATE SOMETABLE SET SOMECOL=123 WHERE OTHERCOL='ABC'"

    Good luck!

    *** 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

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    Las Vegas, NV
    Posts
    301

    Re: SQL Coding

    ok, i have the management software now. what i don't see is how to access it i'll re-read your post and look for it again. now what i don't understand is, does my own computer work as a server so to speak?

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

    Re: SQL Coding

    Having the SQLSERVER.EXE running as a service on your own computer in a way makes it behave like a server. Other workstations on your network/domain (if you have one) can access the SQL database on your own computer just like it being a server.

    The only real difference between a workstation and a server is the O/S it's running.

    *** 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

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2007
    Location
    Las Vegas, NV
    Posts
    301

    Re: SQL Coding

    how do i set that up?

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

    Re: SQL Coding

    Set what up?

    *** 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

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