By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,121 Members | 1,064 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,121 IT Pros & Developers. It's quick & easy.

Embeding Sql With 'c'

P: 1
HI,
I wanted to embed sql with 'c'
so for that do i require any third party header file or ....and third party tool

If and link please suggest...
i have not use sql with 'c' so please let me know...
Dec 29 '06 #1
Share this Question
Share on Google+
1 Reply


100+
P: 1,646
HI,
I wanted to embed sql with 'c'
so for that do i require any third party header file or ....and third party tool

If and link please suggest...
i have not use sql with 'c' so please let me know...
Hi. You can use sql in c and c++ in the form of text statements:
Expand|Select|Wrap|Line Numbers
  1. "SELECT [fieldname] FROM [tablename]"
In order to make use of the sql statements you will need to connect to a database. This is where things get a little crazy.

You will need to learn about DAO, ADO, ODBC, database connections and recordsets. All fairly advanced subjects.

Happy learning :)
Dec 29 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.