×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Microsoft SQL & IB6 compatibility ?

Microsoft SQL & IB6 compatibility ?

Microsoft SQL & IB6 compatibility ?

(OP)
1. How compatible are MS-SQL 2000 & IB6/7 in terms of datatypes, triggers, procedures, etc?  I have looked at a SQL 2000 server database through Enterprise Manager & the metadata generated as a script looks totally foreign to me !

2. Is there a quick way to get all the tables, triggers & generators that exist in a IB6 database, to be created in MS-SQL ?

3. If so, what the hell is the equivilient of IBConsole's Interactive SQL in Microsoft.

Sorry, it's not really about InterBase.  We have developed lot's of stuff with IB, but a potential client is insisting that our client software use MS-SQL databases & we don't know enough (yet) to give them required information.

Spencer Window (not a joke name)
spencer.window@eastmidlandcomputers.ltd.uk

RE: Microsoft SQL & IB6 compatibility ?

2) A quick way to export the data from Interbase to SQL-Server would be the use of the Datapump Utility from Borland that comes included with Borland's Delphi.

Steven van Els
SAvanEls@cq-link.sr

RE: Microsoft SQL & IB6 compatibility ?

1) I would say that you should be able to represent anything you can have in IB in MS SQL. Truely compatible, I don't know. One thing though - if you use Generators: no such thing in MS SQL. MS SQL comes with an "identity" field - some kind of auto-inc datatype.

2) The metadata? Not really. I am working on such a thing (for tables and views) but it isn't finished yet. As for triggers and procedures, the languages differ quite a lot. And what you see from the MS SQL Enterprise Manager isn't really SQL92/99/whatever compatible either :)

As for the data, you can use the free datapump from www.clevercomponents.com (I believe) or mine (transfers data from IB/Fb/ODBC/ADO to IB/Fb/ODBC/ADO) at www.upscene.com

3) The Query Analyzer perhaps?

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.upscene.com

RE: Microsoft SQL & IB6 compatibility ?

(OP)
Thanks for that Martijn,

Since I posted this, I have discovered most of what have said to be true.

It certainly doesn't like IB syntax for Procedures/Triggers.

PS: I have the registered version IB WorkBench (1.4.1) & have tried the DataPump - What a "cool" tool !!!!

Spencer Window (not a joke name)
spencer.window@eastmidlandcomputers.ltd.uk

RE: Microsoft SQL & IB6 compatibility ?

Hi Spencer,

Just a quick note on the triggers: I don't know exactly, but I believe since MS SQL 2000, you can have multiple triggers and let them fire on BEFORE actions as well. This is quite a change for MS SQL - while IB had this for years :)

As for IBW - the DataPump is nice :)

Thanks for the comments.

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.upscene.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close