Unix/Linux Forum: Access To Database/Database App From Inside Script Or C Code - Unix/Linux Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Access To Database/Database App From Inside Script Or C Code Rate Topic: -----

#1 User is offline   takawa 

  • Newbie (User Level: 0/10)
  • Group: Members
  • Posts: 5
  • Joined: 02-July 09

Posted 06 July 2009 - 06:43 AM

Is there a mandatory command to open/query a database from script or access a program querying a database? Is this way uniform or changes with the calling context? Thank you for help.
0

#2 User is offline   fishsponge 

  • Administrator
  • Group: Admin
  • Posts: 481
  • Joined: 23-June 05
  • Gender:Male
  • Location:Cambridge, UK
  • Linux User #: 313906

Posted 06 July 2009 - 09:16 AM

the way you access a database changes completely depending on how you want to access it - it depends on the database server software you are using, the database clients that are available on your system, and the language you are writing your program/script in.

Hope this helps slightly!
><> FishSponge <><

[Richard Hobbs] [HiFi Forum]

This site is funded largely out of my own pocket, so if you are feeling generous, please Posted Image Posted Image
0

#3 User is offline   takawa 

  • Newbie (User Level: 0/10)
  • Group: Members
  • Posts: 5
  • Joined: 02-July 09

Posted 06 July 2009 - 01:49 PM

View Postfishsponge, on 06 July 2009 - 11:16 AM, said:

the way you access a database changes completely depending on how you want to access it - it depends on the database server software you are using, the database clients that are available on your system, and the language you are writing your program/script in.

Hope this helps slightly!

Sorry. I had in mind executing a database access from a code in different language (C, script), and may be particularly SQL. Something like using EXEC or CALL..
0

#4 User is offline   fishsponge 

  • Administrator
  • Group: Admin
  • Posts: 481
  • Joined: 23-June 05
  • Gender:Male
  • Location:Cambridge, UK
  • Linux User #: 313906

Posted 06 July 2009 - 02:24 PM

hmm... i do have a little experience in scripting, but not with databases, and I have no C experience whatsoever... in fact, EXEC and CALL mean nothing to me i'm afraid...

Can anyone else help?
><> FishSponge <><

[Richard Hobbs] [HiFi Forum]

This site is funded largely out of my own pocket, so if you are feeling generous, please Posted Image Posted Image
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users