Re: DBI Layer documentation

2010-10-12 Thread David Nicol
 please keep the list cc'ed.

I disagree with this sentiment when it comes to off-topic personal assertions.

 [sybase]

The sybase DBD builds against a TDS module of some kind; for writing C
front end and Sybase back-end unless there is an existing codebase to
copy more than the SQL from it might make more sense to skip the
middleman and look directly at FreeTDS or equivalent TDS library if
you've got one.


Re: DBI Layer documentation

2010-10-11 Thread Jens Rehsack
2010/10/9 Kumar, Ankur ankur.ku...@netapp.com:
 Dear Jens,

Dear Ankur,

please keep the list cc'ed.

 Thanks for your mail. I know what dbi is and why is it used.
 I am clueless at the moment w.r.t. its implementation in the code I am
 working on.
 I will get back you soon after further investigation.

Please get back to the list. I cannot help you much on database interface
programming, regardless the language. I just detected some open questions
in your mail if I would have the technical knowledge to answer.

Jens

 Thanks again for your mail.

 With Regards,

 Ankur Kumar
 Intern, SMAI Dev.
 NetApp, Bangalore

 -Original Message-
 From: Jens Rehsack [mailto:rehs...@googlemail.com]
 Sent: Thursday, October 07, 2010 3:56 PM
 To: Kumar, Ankur
 Cc: dbi-users@perl.org
 Subject: Re: DBI Layer documentation

 2010/10/7 Kumar, Ankur ankur.ku...@netapp.com:
 Hello,

 I am working with C in front end and Sybase in backend. I have been
 asked to understand and modify a piece of code which uses DBI layer
 for
 running queries on Sybase entries.

 I am not able to understand the DBI layer implementation in the code.
 Please help me with a very simple and basic documentation on DBI layer
 (specific to C-Sybase duo if possible)

 But you regognize what DBI is, don't you?
 If not, it's a Database independent interface for Perl

 Probably you explain now a bit more detailed how you plan to use DBI
 in you setup:
 1) load embedded Perl in you C application
 2) load the DBI module in this embedded Perl
 3) call DBI methods via perlapi?

 Or do you plan to copy code from DBI.xs to adapt it in your project to
 be able to use a Database independent interface for C?

 Jens



Re: DBI Layer documentation

2010-10-07 Thread Jens Rehsack
2010/10/7 Kumar, Ankur ankur.ku...@netapp.com:
 Hello,

 I am working with C in front end and Sybase in backend. I have been
 asked to understand and modify a piece of code which uses DBI layer for
 running queries on Sybase entries.

 I am not able to understand the DBI layer implementation in the code.
 Please help me with a very simple and basic documentation on DBI layer
 (specific to C-Sybase duo if possible)

But you regognize what DBI is, don't you?
If not, it's a Database independent interface for Perl

Probably you explain now a bit more detailed how you plan to use DBI
in you setup:
1) load embedded Perl in you C application
2) load the DBI module in this embedded Perl
3) call DBI methods via perlapi?

Or do you plan to copy code from DBI.xs to adapt it in your project to
be able to use a Database independent interface for C?

Jens