I am trying to delete rows on DB2 i Series using a link server but am getting an error message. Key column information is insufficient or incorrect. T ...
I am trying to delete rows on DB2 i Series using a link server but am getting an error message. Key column information is insufficient or incorrect. T ...
Given a table that looks like this: I had planned on executing a query to mimic date addition as in Unfortunately, using the REMINDER field give ...
I'm more of a Microsoft T-SQL guy - not great, but I've worked with it a bit. In the Visual Studio code, I have this: public static DataSet GetModel ...
I have a pretty straightforward sql query that I'm running on DB2 I-series 4 which is just performing some simple joins. The issue is that my material ...
what is purpose of SQLPKG? How would I create one on the IBM i? when would I use one on the IBM i environment? Regards, Jemrug ...
In our IBM iSeries v7r4 - DB2, we need to convert a DDS file to a DDL-SQL . It doesn't matter if it's a view or an index or anything if we can conver ...
I have a column with dates formatted as decimals, for example: 20,210,830. I want to convert this number to date format as 08/30/2021 I have tried t ...
I'm trying to us Entity Framework Core to query my DB2 database. Here's how I register it: That's the class the is use as a DbSet: And there's m ...
I get this error. I have DB2 for i Series 7.3s, I know it is a old version, but I can't change it. I just want to find the Db2 library compatible wit ...
I have a table with a 50 CHAR column, with a content like It's a string used like an array of 25 elements CHAR 2. I need to insert a comma every 2 ...
Using AS400 db2 for this. I have a table of orders. From that table I have to: Get all orders from a specified list of order IDs and type Group ...
I am attempting to write XML output from a Db2 file to the IFS. Running this SQL statement from System i Navigator SQL gives me the proper output on ...
I was trying to select columns from sys columns lib, but function LISTAGG returns only a varchar which then gets listed instead of listing columns ret ...
Below is my attempt at recursively querying all of the dependency catalogs for a given object: I can't work out the compilation error. Compilation ...
In my example, I am trying to retrieve records from a transaction file based on the previous calendar work date. The work dates are in a file called C ...
If I was to make a change to an object(possibly a table) , I want to find out via system catalog tables where this object is referenced/used. So what ...
What I'm trying to do is execute 2 SBMJOBs, but first I need program A to finish, in order to execute program B. Does anyone know how to do it? Progr ...
I have a file XML in the iSeries IFS. This is the initial parts of the file: I need to extract some tags, but doesn't work But if I manually de ...
How to find out Server name, Instance Name, DB name in DB2 via sql query. I was found it via shell scripts. Need via sql scripts. ...
I've followed several guides online and I cannot install IBM DB2 ODBC DRIVER on Windows. I have downloaded the driver from IBM and installed (which w ...