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 > Migrating Btrieve to SQLServer

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-30-06, 11:12
Mridula Mridula is offline
Registered User
 
Join Date: May 2006
Posts: 3
Question Migrating Btrieve to SQLServer

Hi,

I am in the process of evaluating options to migrate the database of a Delphi 4.0 application from Btrieve to SQLServer. I am not wary about the data migration per se, but largely anxious about the data access layer implications. This Delphi Application accesses the Btrieve database using Titan software. Could some one help me with what would be required to migrate from a Titan-Btrieve approach to a normal ODBC based SQLServer access ?

Last edited by Mridula; 05-30-06 at 11:13. Reason: Typo
Reply With Quote
  #2 (permalink)  
Old 05-30-06, 12:02
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Migrating from "Btrieve" to MS SQL basically means rewriting your code.
COnverting from Titan/Btrieve to MS SQL means switching to ODBC or OLEDB (through BDE, ADO, or something similar). You'll need to change every data access call. Once the app is converted, you'll need to convert the database.
Have you started and if so, are you having problems?
__________________
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 05-30-06, 12:42
Mridula Mridula is offline
Registered User
 
Join Date: May 2006
Posts: 3
Ok I now understand.. Given that Titan accesses Btrieve using the Btrieve API, the data layer would definitely be impacted. But could you please advice, what would be best approach towards this move ? Should we opt for ODBC/OLEDB ? Also for either of the approaches, what is the data access APIs available ?

Thanks, mridula
Reply With Quote
  #4 (permalink)  
Old 05-30-06, 14:12
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Actually, I can't offer any suggestions. I've not really dealt with SQL Server. I prefer (and still use) Pervasive/Btrieve.
For my web stuff that I've used MS SQL, I've used both OLEDB and ODBC with equal results.
You need to decide how much of the code you want / can reuse and whether or not you are going to keep using Delphi 4. Once you've decided which dev tool you are going to use, then you can decide on the data access method you are going to use.
__________________
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
  #5 (permalink)  
Old 05-30-06, 14:41
Mridula Mridula is offline
Registered User
 
Join Date: May 2006
Posts: 3
Thanks again..
This is a pretty old application and there is no immediate plans to have the Application layer migrate from Delphi. That would remain, the plan for now is to migrate the database from Btrieve to SQL Server with minimal impact to code.

Given this situation, I have to pursue options to access SQL Server from Delphi - so need to identify best access methodology as a first step to SQL server implementation
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