progress-db

How to set up ODBC 10.1b for Progress DB

杀马特。学长 韩版系。学妹 提交于 2019-12-11 06:25:30
问题 I'm trying to set up an ODBC client driver for Progress 10.1b. I was able to install the client software that is required, but there is apparently also an ODBC.reg script file that needs to be run to correctly set up the registry in order for me to use the ODBC drivers. Can anyone point me to where I would find this script? Or tell me the set of registry entries that would have to be made? 回答1: That's not a standard part of the install process. Are these the steps that you followed to get the

SQL SSIS import error: PROGRESS openedge wire protocol column in table has value exeeding its max length or precision

醉酒当歌 提交于 2019-12-11 03:35:33
问题 I'm importing data from a progress database. I am getting the following error: Progress openedge wire protocol column in table has value exeeding its max length or precision Is there a way to specify a specific length of the select column's data in the select statement? For example: SELECT SUBSTRING(EMAIL,15) FROM SQL92.PROGRESSTABLE SUBSTRING does give me the substring of a valid field value, but still fails with the above error when the dataset hits the "dirty" row. I don't have access to

Fixing sql length error in progress 4gl 10.2B

心已入冬 提交于 2019-12-11 02:51:38
问题 I'm trying to use the openedge jdbc connector to pull data from an existing progress db but im running into column width issues. Here is the error that is holding me up. [DataDirect][OpenEdge JDBC Driver][OpenEdge] Column TabDisplayName in table PUB.Menu has value exceeding its max length or precision. I've looked at many posts, each offering different advice, and here's what I've given a go this far: Manually modify the SQL width via the data dictionary. I ran a quick check on PUB.Menu

ODBC Error “Column x in table y has value exceeding its max length or precision”

我的未来我决定 提交于 2019-12-11 01:15:16
问题 I get this error from Progress database when running the following query using ODBC: SELECT distinct Table.column, { fn CONVERT(SUBSTRING(Table.ProblematicColumn, 1, 60), SQL_VARCHAR)} as test FROM PUB.Table WHERE ( Table.id IN ( SELECT Table.id FROM PUB.Table ) ) I know it's possible to fix it using the DBTools. However, I run queries against multiple Progress databases of multiple clients, so it's not practical to do this every time. Also, for some reason, the ODBC client I'm using (PHP),

Static vs dynamic queries in OpenEdge

家住魔仙堡 提交于 2019-12-10 16:53:28
问题 Question is very common, let's see pros and cons of each in OpenEdge in terms of code readability, flexibility and performance off course. Static queries: + readability: convenient `buffer.field` notation + performance: higher (supposedly, need comments) -/+ "global scope" allows to handle all previously used buffers, but could lead to ambiguousness, so you'll have to clarify it with a table name (table.field instead of field) - flexibility: you cannot alternate predicate-expression much,

C# to connect to a Progress Database

时光毁灭记忆、已成空白 提交于 2019-12-08 13:28:32
I'm trying to develop a program that will connect to a Progress Database (9.1E) using C# (Visual Studio 2010 Ultimate), but I first need to get a connection string to the Progress Database from the C# program. I have tried the following, but I'm unsuccessful in establishing a connection to the Progress database. I'm not sure what the connection string should look like, but here's what I have before I start expanding everything. Also, I'm not sure what the DSN name should be. private void downloadData_Click(object sender, RoutedEventArgs e) { try { string connectString = "DSN = QADDB; Host =

unixodbc driver manager cannot open specified library on install

那年仲夏 提交于 2019-12-03 13:00:39
I'm using ArchLinux and I am trying to install OpenEdge progress drivers so I can access it via PHP. I've installed the unixodbc package and the drivers, but when I test the connection via isql or PHP, I get the same error... # isql -3 SUBS2A [01000][unixODBC][Driver Manager]Can't open lib '/usr/dlc/odbc/lib/pgoe1023.so' : file not found [ISQL]ERROR: Could not SQLConnect The messed up thing is that "/usr/dlc/odbc/lib/pgoe1023.so" presently exists, I even symlinked it from "/usr/dlc". The following are my .ini files... odbc.ini [SUBS2A] Description = ODBC Driver for Progress Driver = /usr/dlc

Exclude rows based on other rows (SQL)

99封情书 提交于 2019-11-29 15:29:11
Say I have a query like this: SELECT * FROM TABLE And it returns this: TABLE ID | DATA | VAL =============== 01 | ABCD | 1 01 | DEFG | 2 02 | FGHI | 3 02 | HIJK | 2 03 | JKLM | 3 03 | LMNO | 4 04 | NOPQ | 0 04 | PQRS | 1 Currently I have a query that attempts find only good values like this, but it's flawed because IDs that have bad VALs in other rows are included, which is not what I'd like. SELECT * FROM TABLE WHERE TABLE.VAL IN ("1","2","3") would return this (with LMNO and PQRS missing): TABLE ID | DATA | VAL =============== 01 | ABCD | 1 01 | DEFG | 2 02 | FGHI | 3 02 | HIJK | 2 03 | JKLM

Exclude rows based on other rows (SQL)

喜欢而已 提交于 2019-11-28 08:56:45
问题 Say I have a query like this: SELECT * FROM TABLE And it returns this: TABLE ID | DATA | VAL =============== 01 | ABCD | 1 01 | DEFG | 2 02 | FGHI | 3 02 | HIJK | 2 03 | JKLM | 3 03 | LMNO | 4 04 | NOPQ | 0 04 | PQRS | 1 Currently I have a query that attempts find only good values like this, but it's flawed because IDs that have bad VALs in other rows are included, which is not what I'd like. SELECT * FROM TABLE WHERE TABLE.VAL IN ("1","2","3") would return this (with LMNO and PQRS missing):