INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

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.

Jobs

SQLBase to MS SQL 2000 nearly done, but stuck ?!

SQLBase to MS SQL 2000 nearly done, but stuck ?!

(OP)
Hi professionals,
i was asked to do a migration of SqlBase 7.5.1 to MS SQL Server 2000 in Windows 2K3 Server.

Because the Software we use is in need of a proper SQL.ini i decided to use the centura odbc router and connect to MS SQL by dsn.

The migration-process was done by a tool supplied by the Software-vendor (out of business now, so no support to ask there).
Now the Software works with some amazing substitutions in sql. ini as following at the end,

BUT some Querys are not computed correctly, when the colums content consists of concatenated strings and has no name given. Sample:

SELECT (...), dbo.TRIM( ISNULL(COL1, '') ) + ', ' + dbo.TRIM( ISNULL(COL2, '') ), COLN, (...) FROM Table  WHERE ...

All the colums with a given name are shown correctly, but this special one not. Any ideas?
I tried to do a substitution adding an "AS NAME" to this line, but there the problem is how to use the "," because it is the seperator of the substitution-command in sql.ini.

Maybe anyone has a good idea, because i really got stuck here thanks.

here the part of sql.ini:
[odbcrtr]
substitute=SYSADM.,
substitute=@nullvalue,ISNULL
substitute=@trim,dbo.TRIM
substitute=||,+
substitute='1'+' ' + dbo.TRIM(auftragsart),fixfield

substitute=@,
remotedbname=SQL2K,DSN=SQK2K
 

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!

Resources

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