If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Pervasive Delphi 2005 connection...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-06, 19:02
jmzl jmzl is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
Pervasive Delphi 2005 connection...

Hi there,

I need information for connect my delphi 2005 ASP.net application to pervasive dataBase, can somebody help me ?
Reply With Quote
  #2 (permalink)  
Old 01-16-06, 20:29
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
For an ASP.NET app, you can use ODBC, OLEDB , or Pervasive Managed Provider. This is assuming a recent version of PSQL (V8 or later). For anything older, you'd need to figure out which interface is available (Managed Provider only works with V8 or later).
If you were doing WIn32 (instead of ASP.NET), you could've used PDAC as well.
If that doesn't help, post a little more information including the version of PSQL and what type of data you're accessing (yours or a third party app).
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
  #3 (permalink)  
Old 01-17-06, 06:23
jmzl jmzl is offline
Registered User
 
Join Date: Oct 2005
Posts: 4
Pervasive Delphi 2005 connection...

Yes, I have tried with OLEDB and ODBC but is very, very slow and now I'm trying with PSQL but I'm not sure if this version work for delphi, because I get that component from pervasive for microsoft Net Studio.
Now, testing connection with PSQL on delphi 2005 I received an error,
my question, some body could use PSQL for Delphi 2005 or delphi 2006 ?

Thanks in advance.
Reply With Quote
  #4 (permalink)  
Old 01-17-06, 09:31
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
What version of PSQL are you using?
What error are you getting using the Managed Provider?
I used it once in Delphi 2005 but I can't find my sample right now.

You said OLEDB and ODBC were slow. One of the main causes of slow ODBC/OLEDB performance is when the DDFs and data files aren't matched. ANother cause is an SQL statement that is not optimized to use indexes.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On