Connecting to a SQL Server to do simple stuff

This is a discussion on Connecting to a SQL Server to do simple stuff within the C Programming forums, part of the General Programming Boards category; Hi, I need to connect to a SQL server in C and be able to retrieve information and add 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
    Katy, Texas
    Posts
    2,309
    Sure. Download MySQL for free and use it.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  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
    Katy, Texas
    Posts
    2,309
    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.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  5. #5
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,528
    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, 11:45 AM
  2. OpenGL Question...simple (triangle drawing stuff)
    By incognito in forum Game Programming
    Replies: 7
    Last Post: 03-15-2003, 07:47 PM
  3. Simple stuff!
    By Liger86 in forum C++ Programming
    Replies: 11
    Last Post: 12-27-2002, 12: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21