Thread: Connecting to a SQL Server to do simple stuff

  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    6

    Connecting to a SQL Server to do simple stuff

    Hi, I need to connect to a SQL server in C and be able to retrieve information and add stuff (records) to it. It's for a highscore system. I've seen all these libraries you have to purchase that are really complex, is there an easy way I can do this myself?

    Thanks

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Sure. Download MySQL for free and use it.
    Mainframe assembler programmer by trade. C coder when I can.

  3. #3
    Beginner leiming's Avatar
    Join Date
    Jan 2008
    Location
    Fujian, China
    Posts
    25
    MySQL has 2 licences. One for those who distributes his program under GPL, it's free. But if you don't distribute your program under GPL, you have to purchase it.

    By the way, SQL Server 2005 Express is free and can be use even for commercial purpose. But there are many limits in function anyway. So is Oracle XE.

  4. #4
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    Silly me. I forgot to mention DB2 Express. It's free too. Runs on Linux, Unix and Windows, and IBM even just came out with a beta version for running on the Mac.
    Mainframe assembler programmer by trade. C coder when I can.

  5. #5
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,534
    Don't forget about PostgreSQL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parsing a flat file to a SQl Server database?
    By Michael71 in forum C Programming
    Replies: 0
    Last Post: 01-16-2007, 12:45 PM
  2. OpenGL Question...simple (triangle drawing stuff)
    By incognito in forum Game Programming
    Replies: 7
    Last Post: 03-15-2003, 08:47 PM
  3. Simple stuff!
    By Liger86 in forum C++ Programming
    Replies: 11
    Last Post: 12-27-2002, 01:04 PM
  4. simple stuff
    By Noah in forum C Programming
    Replies: 1
    Last Post: 10-06-2001, 03:47 PM
  5. a question on server stuff
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 10-05-2001, 02:54 PM