|
|
|
DB-lib to Embedded SQL migration
|
|||
|---|---|---|---|
|
#18+
Кто нибудь знает automated tool(s) to convert C DB-Library application to C Embedded SQL applicatin ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.10.2008, 18:42 |
|
||
|
DB-lib to Embedded SQL migration
|
|||
|---|---|---|---|
|
#18+
Zhora wrote: > Кто нибудь знает automated tool(s) to convert C DB-Library application to > C Embedded SQL applicatin ? Хотел было возмутиться, нафига такое нужно, но потом увидал автора ... Надеюсь, вы знаете, что делаете ? Потому как ESQL как бы считается устаревшей штукой и имеет ограниченное применение. Или это скрытая дешёвая миргация с DBLib на CTLib ? Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.10.2008, 20:10 |
|
||
|
DB-lib to Embedded SQL migration
|
|||
|---|---|---|---|
|
#18+
Причины тут (неохота переводить, главное - ESQL одинаков для всех СУБД и яп), к тому же Sybase сделал ESQL позже, он гораздо проще и понятнее, делает все тоже самое. (между прочим Oracle OCI имеет порядка 20 команд всего в сранении c 200 стлиб ASE, и нет эквиалента Oracle's obind)... > Sorry about 2. (in my prev.email), if theres tool to convert db-lib to ct-lib appl >and ct-lib to ESQL , then I am interested :-) >Eugene Korolkov wrote: > Neal, > > 1. I am asking not only Sybase tool, but also 3-rd party > or let's say Microsoft tool for SQL server or Oracle. > > 2. I am not interested in ct-library conversion at all. > > 3. I heard that Embedded SQL is slower comparing to db/ct lib, > but do not know how much slower and from where that slowness is coming, > though actually do not care to much. > > 4. We are going to convert our risk system to other databases (Oracle, DB2, MSSQLSERVER) > and for the purpose to support the same code (at least on client-side, on server side all vendors are providing > their tools) we need at first to convert old db-lib application to C ANSI Embedded SQL. > > 5. Our Oracle programmers familiar only with C Embedded SQL > > 6. Manual conversion looks too costl, but this is what we are started to do . > > Regards, > Eugene > > > > Neal Stack [Sybase] wrote: > >> Hello, >> >> There are no automated tools that I have heard of provided by Sybase. >> >> They have provided sample programs that illustrate how to code the >> same DB-Library functionality in CT-Library here: >> % pwd >> /software/ase1502/OCS-15_0/sample/db2ct >> % ls >> Makefile ctrowbuf.c dbctutil.c dbtoctex.h ex03ct.c ex06ct.c ex10ct.c rpctest.sql txtimg.c >> README ctrowbuf.h dbctutil.h ex01ct.c ex04ct.c ex08ct.c ex11ct.c sybopts.sh txtimg.h >> ctfirst.c datafile dbfirst.c ex02ct.c ex05ct.c ex09ct.c imagefile testctrb.c >> >> The Open Client Migration Guide also covers DB-Library to CT-Library conversions: >> http://infocenter.sybase.com/help/topic/com.sybase.dc36065_1500/html/ctlibmig/title.htm >> >> However, it does not touch on ESQL. Most customers I have experience >> with convert from DB-Library to CT-Library, not ESQL. >> >> Regards, >> Neal > > ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.10.2008, 20:40 |
|
||
|
|

start [/forum/topic.php?fid=55&fpage=45&tid=2011340]: |
0ms |
get settings: |
11ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
30ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
48ms |
get tp. blocked users: |
1ms |
| others: | 236ms |
| total: | 358ms |

| 0 / 0 |

Извините, этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
... ля, ля, ля ...